Bug 1164125 - ETL service aggregation to hourly tables is failing with NullPointerException for specific timezones due to the way the ETL interprets the timezone
Summary: ETL service aggregation to hourly tables is failing with NullPointerException...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-dwh
Version: 3.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.6.0
Assignee: Shirly Radco
QA Contact: Lukas Svaty
URL:
Whiteboard: infra
Depends On:
Blocks: 1195395
TreeView+ depends on / blocked
 
Reported: 2014-11-14 07:27 UTC by zhangyaqi
Modified: 2016-02-10 19:33 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-04 13:45:27 UTC
oVirt Team: Infra
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 40234 0 None None None Never

Description zhangyaqi 2014-11-14 07:27:34 UTC
Description of problem:
hi all,
        
        i meet a big problem about DWH

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Shirly Radco 2014-11-16 08:08:32 UTC
Hi,
In order for me to help, Please provide full details about this issue.
What is the environment? what rpm are installed? what is the problem exactly and how to reproduce.

Thank you,
Shirly

Comment 2 zhangyaqi 2014-12-08 14:21:17 UTC
(In reply to Shirly Radco from comment #1)
> Hi,
> In order for me to help, Please provide full details about this issue.
> What is the environment? what rpm are installed? what is the problem exactly
> and how to reproduce.
> 
> Thank you,
> Shirly

Comment 3 Shirly Radco 2015-02-25 07:00:30 UTC
It was found that for certain timezones there is an issue with the way the ETL interprets the timezone. Not ISO. e.g. China timezone.

The error is during Hourly aggregation.

# update history_configuration set var_datetime = 'Wed Dec 24 18:52:46 CST 2014' where var_name = 'lastHourAggr';
# select * from history_configuration ;
      var_name      | var_value |      var_datetime
-------------------+-----------+------------------------
  lastHourAggr      |           | 2014-12-25 08:52:46+08
Postgres thinks "CST" means US Central Standard Time (GMT-6, currently).

If we want CST to mean China Standard Time, we will need to set up a
We will need to output the time in an ISO format, like '2014-12-25 18:52:46+08', which removes all ambiguity.

Comment 4 Shirly Radco 2015-03-01 11:50:24 UTC
*** Bug 1195395 has been marked as a duplicate of this bug. ***

Comment 5 Shirly Radco 2015-03-02 07:27:00 UTC
Reopening because we plan to fix this issue in the ETL process.

Comment 6 Shirly Radco 2015-06-09 08:11:28 UTC
zhangyaqi, Please do not close this.
It was a bug and fixed. Waiting fot qa testing.

Comment 7 Lukas Svaty 2015-07-14 11:14:05 UTC
verified - ovirt-engine-dwh-3.6.0-0.0.master.20150617151108.20150617150804.gitfccbb7a.el6.noarch

Comment 8 Sandro Bonazzola 2015-11-04 13:45:27 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.


Note You need to log in before you can comment on or make changes to this bug.