You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "13802880779@139.com" <13...@139.com> on 2015/08/25 08:43:38 UTC
kylin use pst time by default
like :2015-08-24 18:53:58 PST, we prefer cst time format, is that configurable?
中国移动广东有限公司 网管中心 梁猛
13802880779@139.com
Re: kylin use pst time by default
Posted by Jian Zhong <he...@gmail.com>.
Sure ,ticket created tracking this.
https://issues.apache.org/jira/browse/KYLIN-971
On Wed, Aug 26, 2015 at 10:55 PM, Luke Han <lu...@gmail.com> wrote:
> Hi Jason,
> Could you please help to create one JIRA for tracking?
>
> Thanks.
>
>
> Best Regards!
> ---------------------
>
> Luke Han
>
> On Wed, Aug 26, 2015 at 3:16 PM, Jian Zhong <he...@gmail.com>
> wrote:
>
> > @Yerui
> >
> > Agree, we added [kylin.rest.timezone] to kylin.properties before
> >
> > will add it back to kylin.properties
> >
>
Re: kylin use pst time by default
Posted by Luke Han <lu...@gmail.com>.
Hi Jason,
Could you please help to create one JIRA for tracking?
Thanks.
Best Regards!
---------------------
Luke Han
On Wed, Aug 26, 2015 at 3:16 PM, Jian Zhong <he...@gmail.com> wrote:
> @Yerui
>
> Agree, we added [kylin.rest.timezone] to kylin.properties before
>
> will add it back to kylin.properties
>
Re: kylin use pst time by default
Posted by Jian Zhong <he...@gmail.com>.
@Yerui
Agree, we added [kylin.rest.timezone] to kylin.properties before
will add it back to kylin.properties
Re: kylin use pst time by default
Posted by Yerui Sun <su...@gmail.com>.
Hi, Luke
I found the timezone issue at the first time of entering kylin web and guessed it’s configured in KylinConfig.
I greped ‘zone’ in KylinConfig, and found ‘kylin.rest.timezone’ only. But with adding config as ‘CST’ to kylin.properties, it didn’t work.
Inspired by Jian Zhong’s reply on this thread this afternoon, I tried to set as GMT+8, and it worked now.
I’m not sure what do you mean ‘data timezone’, I didn’t find any clue about this in the source code. Could you please make more descriptions on this?
After all, my suggestion is adding [kylin.rest.timezone] into default kylin.properties, and set GMT as default. It will give users a tip to change to their own timezone.
I think this will be useful for many users, because Kylin has been used by many people globally, not just in PST and CST.
> 在 2015年8月25日,20:30,Luke Han <lu...@gmail.com> 写道:
>
> Hi Meng and Yerui,
> For timezone, Kylin is using GMT as default for data, and
> "kylin.rest.timezone"
> for display.
> Back to your requirement and issue, are you trying to set the "data"
> timezone to CST not only UI part?
> Could you please share more detail requirement or issues about this?
>
> Thanks.
> Luke
>
>
> Best Regards!
> ---------------------
>
> Luke Han
>
> On Tue, Aug 25, 2015 at 8:16 PM, Yerui Sun <su...@gmail.com> wrote:
>
>> We have met this issue too.
>> I found [kylin.rest.timezone] in source code and tried to set as CST in
>> kylin.properties, but it didn’t work. I was confused with it and didn’t go
>> in-depth.
>>
>> GMT is works well now, and I have to say, GMT-5 still means PST, and CST
>> is GMT+8.
>>
>>
>>> 在 2015年8月25日,16:00,Jian Zhong <he...@gmail.com> 写道:
>>>
>>> HI meng,
>>>
>>> As mentioned in ServiceConfig.md,we have [kylin.rest.timezone] in
>>> kylin.properties file
>>>
>>> you can config kylin.rest.timezone=GMT-5
>>>
>>>
>> https://github.com/apache/incubator-kylin/blob/master/server/ServiceConfig.md
>>>
>>>
>>> On Tue, Aug 25, 2015 at 2:43 PM, 13802880779@139.com <
>> 13802880779@139.com>
>>> wrote:
>>>
>>>> like :2015-08-24 18:53:58 PST, we prefer cst time format, is that
>>>> configurable?
>>>>
>>>>
>>>>
>>>> 中国移动广东有限公司 网管中心 梁猛
>>>> 13802880779@139.com
>>>>
>>
>>
Re: kylin use pst time by default
Posted by Luke Han <lu...@gmail.com>.
Hi Meng and Yerui,
For timezone, Kylin is using GMT as default for data, and
"kylin.rest.timezone"
for display.
Back to your requirement and issue, are you trying to set the "data"
timezone to CST not only UI part?
Could you please share more detail requirement or issues about this?
Thanks.
Luke
Best Regards!
---------------------
Luke Han
On Tue, Aug 25, 2015 at 8:16 PM, Yerui Sun <su...@gmail.com> wrote:
> We have met this issue too.
> I found [kylin.rest.timezone] in source code and tried to set as CST in
> kylin.properties, but it didn’t work. I was confused with it and didn’t go
> in-depth.
>
> GMT is works well now, and I have to say, GMT-5 still means PST, and CST
> is GMT+8.
>
>
> > 在 2015年8月25日,16:00,Jian Zhong <he...@gmail.com> 写道:
> >
> > HI meng,
> >
> > As mentioned in ServiceConfig.md,we have [kylin.rest.timezone] in
> > kylin.properties file
> >
> > you can config kylin.rest.timezone=GMT-5
> >
> >
> https://github.com/apache/incubator-kylin/blob/master/server/ServiceConfig.md
> >
> >
> > On Tue, Aug 25, 2015 at 2:43 PM, 13802880779@139.com <
> 13802880779@139.com>
> > wrote:
> >
> >> like :2015-08-24 18:53:58 PST, we prefer cst time format, is that
> >> configurable?
> >>
> >>
> >>
> >> 中国移动广东有限公司 网管中心 梁猛
> >> 13802880779@139.com
> >>
>
>
Re: kylin use pst time by default
Posted by Yerui Sun <su...@gmail.com>.
We have met this issue too.
I found [kylin.rest.timezone] in source code and tried to set as CST in kylin.properties, but it didn’t work. I was confused with it and didn’t go in-depth.
GMT is works well now, and I have to say, GMT-5 still means PST, and CST is GMT+8.
> 在 2015年8月25日,16:00,Jian Zhong <he...@gmail.com> 写道:
>
> HI meng,
>
> As mentioned in ServiceConfig.md,we have [kylin.rest.timezone] in
> kylin.properties file
>
> you can config kylin.rest.timezone=GMT-5
>
> https://github.com/apache/incubator-kylin/blob/master/server/ServiceConfig.md
>
>
> On Tue, Aug 25, 2015 at 2:43 PM, 13802880779@139.com <13...@139.com>
> wrote:
>
>> like :2015-08-24 18:53:58 PST, we prefer cst time format, is that
>> configurable?
>>
>>
>>
>> 中国移动广东有限公司 网管中心 梁猛
>> 13802880779@139.com
>>
Re: kylin use pst time by default
Posted by Jian Zhong <he...@gmail.com>.
HI meng,
As mentioned in ServiceConfig.md,we have [kylin.rest.timezone] in
kylin.properties file
you can config kylin.rest.timezone=GMT-5
https://github.com/apache/incubator-kylin/blob/master/server/ServiceConfig.md
On Tue, Aug 25, 2015 at 2:43 PM, 13802880779@139.com <13...@139.com>
wrote:
> like :2015-08-24 18:53:58 PST, we prefer cst time format, is that
> configurable?
>
>
>
> 中国移动广东有限公司 网管中心 梁猛
> 13802880779@139.com
>