[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837051#comment-16837051 ] nichunen commented on KYLIN-3788: - Committed to 2.6.x branch > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Assignee: zhao jintao >Priority: Major > Labels: TimeZone > Fix For: v2.6.2 > > > Hi, All team > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823851#comment-16823851 ] ASF subversion and git services commented on KYLIN-3788: Commit 7d085b790d05836160ace072ad7e3fade4d13fc1 in kylin's branch refs/heads/2.6.x from zhaojintaozhao [ https://gitbox.apache.org/repos/asf?p=kylin.git;h=7d085b7 ] KYLIN-3788 Modify the time conversion time zone of the kafka streaming access * change simpleformat timezone of kafka streaming timestamp, such as hour_start, day_start ... * Modify the time conversion logic of the kafka data access; this fix solve the problem that the streaming task time is different from the realtime due to the time zone in kafka streaming. * KYLIN-3788 This commit Changes SimpleDateformat to FastDateFormat because SimpleDateFormat is forbidden API. > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Assignee: zhao jintao >Priority: Major > Labels: TimeZone > Fix For: v2.6.2 > > > Hi, All team > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823852#comment-16823852 ] ASF subversion and git services commented on KYLIN-3788: Commit 7d085b790d05836160ace072ad7e3fade4d13fc1 in kylin's branch refs/heads/2.6.x from zhaojintaozhao [ https://gitbox.apache.org/repos/asf?p=kylin.git;h=7d085b7 ] KYLIN-3788 Modify the time conversion time zone of the kafka streaming access * change simpleformat timezone of kafka streaming timestamp, such as hour_start, day_start ... * Modify the time conversion logic of the kafka data access; this fix solve the problem that the streaming task time is different from the realtime due to the time zone in kafka streaming. * KYLIN-3788 This commit Changes SimpleDateformat to FastDateFormat because SimpleDateFormat is forbidden API. > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Assignee: zhao jintao >Priority: Major > Labels: TimeZone > Fix For: v2.6.2 > > > Hi, All team > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816285#comment-16816285 ] ASF subversion and git services commented on KYLIN-3788: Commit e13f101cb52c75a5ebf581f490b7a603d0ba4289 in kylin's branch refs/heads/master from zhaojintaozhao [ https://gitbox.apache.org/repos/asf?p=kylin.git;h=e13f101 ] KYLIN-3788 Modify the time conversion time zone of the kafka streaming access * change simpleformat timezone of kafka streaming timestamp, such as hour_start, day_start ... * Modify the time conversion logic of the kafka data access; this fix solve the problem that the streaming task time is different from the realtime due to the time zone in kafka streaming. * KYLIN-3788 This commit Changes SimpleDateformat to FastDateFormat because SimpleDateFormat is forbidden API. > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Assignee: zhao jintao >Priority: Major > Labels: TimeZone > > Hi, All team > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816283#comment-16816283 ] ASF GitHub Bot commented on KYLIN-3788: --- nichunen commented on pull request #583: KYLIN-3788 modify the time conversion time zone of the kafka streaming access; It solves the problems that the kafka stream time is different from the real time URL: https://github.com/apache/kylin/pull/583 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Assignee: zhao jintao >Priority: Major > Labels: TimeZone > > Hi, All team > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816284#comment-16816284 ] ASF subversion and git services commented on KYLIN-3788: Commit e13f101cb52c75a5ebf581f490b7a603d0ba4289 in kylin's branch refs/heads/master from zhaojintaozhao [ https://gitbox.apache.org/repos/asf?p=kylin.git;h=e13f101 ] KYLIN-3788 Modify the time conversion time zone of the kafka streaming access * change simpleformat timezone of kafka streaming timestamp, such as hour_start, day_start ... * Modify the time conversion logic of the kafka data access; this fix solve the problem that the streaming task time is different from the realtime due to the time zone in kafka streaming. * KYLIN-3788 This commit Changes SimpleDateformat to FastDateFormat because SimpleDateFormat is forbidden API. > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Assignee: zhao jintao >Priority: Major > Labels: TimeZone > > Hi, All team > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816281#comment-16816281 ] ASF GitHub Bot commented on KYLIN-3788: --- nichunen commented on pull request #599: KYLIN-3788 Modify the time conversion time zone of the kafka streaming access URL: https://github.com/apache/kylin/pull/599 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Assignee: zhao jintao >Priority: Major > Labels: TimeZone > > Hi, All team > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816279#comment-16816279 ] ASF GitHub Bot commented on KYLIN-3788: --- nichunen commented on pull request #599: KYLIN-3788 Modify the time conversion time zone of the kafka streaming access URL: https://github.com/apache/kylin/pull/599 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Assignee: zhao jintao >Priority: Major > Labels: TimeZone > > Hi, All team > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812975#comment-16812975 ] zhao jintao commented on KYLIN-3788: I fix this bug and pull requests to kylin-master: [https://github.com/apache/kylin/pull/583]。 In my Kylin system, this pull requests solve the problem of time errors in kafka streaming tasks. I hope my code can be fitted into the kylin trunk brach. > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Assignee: zhao jintao >Priority: Major > Labels: TimeZone > > Hi, All team > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KYLIN-3788) Kylin's internal time zone conversions are various and confusing
[ https://issues.apache.org/jira/browse/KYLIN-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784376#comment-16784376 ] zhao jintao commented on KYLIN-3788: I found that hour_start is 8 hours behind the real time.Day_start is also 8 behind the real time. I deal this bugfix. > Kylin's internal time zone conversions are various and confusing > - > > Key: KYLIN-3788 > URL: https://issues.apache.org/jira/browse/KYLIN-3788 > Project: Kylin > Issue Type: Bug > Components: REST Service, Web >Affects Versions: v2.5.2 > Environment: Huawei FI >Reporter: zhao jintao >Priority: Major > Labels: TimeZone > > I found that Kylin has a variety of time zone conversions inside, which is > confusing. In some code, the time zone is "GMT" when converting time, and > some code uses the time zone specified in the configuration file > ("TimeZone.getTimeZone("GMT")" ); > For Example: > in CubingJob.java, use TimeZone from configuration file: > format.setTimeZone(TimeZone.getTimeZone( > config.getTimeZone())), > but in TimeUtil.java, use GMT TimeZone:private static TimeZone gmt = > TimeZone.getTimeZone("GMT") > > When inport data from Kafka Streaming Data,kylin generate "Data_Start", > "Hour_Start" uses the GMT time zone, They are some time zones later than > the real time. Why not use the time zone specified in the configuration file? -- This message was sent by Atlassian JIRA (v7.6.3#76005)