Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3788

Kylin's internal time zone conversions are various and confusing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v2.5.2
    • Fix Version/s: v2.6.2
    • Component/s: REST Service, Web
    • Labels:
    • Environment:
      Huawei FI

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              zhao jintao zhao jintao
              Reporter:
              zhao jintao zhao jintao
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: