Bug 1763306
| Summary: | Metering tables are stored in textformat instead of ORC | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Chance Zibolski <chancez> | |
| Component: | Metering Operator | Assignee: | Emily Moss <emoss> | |
| Status: | CLOSED ERRATA | QA Contact: | Peter Ruan <pruan> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.3.0 | CC: | emoss, sd-operator-metering | |
| Target Milestone: | --- | |||
| Target Release: | 4.3.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1763308 (view as bug list) | Environment: | ||
| Last Closed: | 2020-01-23 11:08:20 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1763308 | |||
|
Description
Chance Zibolski
2019-10-18 17:55:41 UTC
verified with 4.3.0-0.nightly-2019-10-22-101148 and `metering` master branch
1. delete existing bucket or empty contents to avoid duplications from previous installs
2. git checkout master and sync to latest
3. run ./hack/openshift-install.sh
4. presto:default> show create table hive.metering.datasource_openshift_metering_pod_usage_memory_bytes;
Create Table
-----------------------------------------------------------------------------------
CREATE TABLE hive.metering.datasource_openshift_metering_pod_usage_memory_bytes (
amount double,
timestamp timestamp,
timeprecision double,
labels map(varchar, varchar),
dt varchar
)
WITH (
format = 'ORC',
partitioned_by = ARRAY['dt']
)
(1 row)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0062 |