You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "apache_dev@163.com" <ap...@163.com> on 2017/09/06 06:27:28 UTC

How to set time parameter on the kylin server

Hi:
  

When  i build a cube by api:

Reques body is:

{"startTime":1328544000000, "endTime":1328716799000, "buildType":"BUILD"}
                     2012/2/7 0:0:0                      2012/2/8 23:59:59   

But response error:
   msg": "Segments overlap: day1[20120201000000_20120207000000] and day1[20120206160000_20120208155959]",

The time difference between the request and the request is 8 hours.
How should  set the time zone on the server to get the correct request time?

Thinks .





apache_dev@163.com

Re: Re: How to set time parameter on the kylin server

Posted by "apache_dev@163.com" <ap...@163.com>.
thiks.



apache_dev@163.com
 
From: Billy Liu
Date: 2017-09-06 16:43
To: dev
Subject: Re: How to set time parameter on the kylin server
Kylin use GMT timezone to process the the segment timestamp. Check code
makeSegmentName in CubeSegment class.
 
 
2017-09-06 14:27 GMT+08:00 apache_dev@163.com <ap...@163.com>:
 
>
> Hi:
>
>
> When  i build a cube by api:
>
> Reques body is:
>
> {"startTime":1328544000000, "endTime":1328716799000, "buildType":"BUILD"}
>                      2012/2/7 0:0:0                      2012/2/8 23:59:59
>
> But response error:
>    msg": "Segments overlap: day1[20120201000000_20120207000000] and
> day1[20120206160000_20120208155959]",
>
> The time difference between the request and the request is 8 hours.
> How should  set the time zone on the server to get the correct request
> time?
>
> Thinks .
>
>
>
>
>
> apache_dev@163.com
>

Re: How to set time parameter on the kylin server

Posted by Billy Liu <bi...@apache.org>.
Kylin use GMT timezone to process the the segment timestamp. Check code
makeSegmentName in CubeSegment class.


2017-09-06 14:27 GMT+08:00 apache_dev@163.com <ap...@163.com>:

>
> Hi:
>
>
> When  i build a cube by api:
>
> Reques body is:
>
> {"startTime":1328544000000, "endTime":1328716799000, "buildType":"BUILD"}
>                      2012/2/7 0:0:0                      2012/2/8 23:59:59
>
> But response error:
>    msg": "Segments overlap: day1[20120201000000_20120207000000] and
> day1[20120206160000_20120208155959]",
>
> The time difference between the request and the request is 8 hours.
> How should  set the time zone on the server to get the correct request
> time?
>
> Thinks .
>
>
>
>
>
> apache_dev@163.com
>