How about your server timezone? Is your server at the right time? Try run 'date' on your server.
2016-12-09 13:58 GMT+08:00 汪胜 <sky...@163.com>: > I only changed "kylin.rest.timezone=GMT" to "kylin.rest.timezone=GM+8" in > file "kylin.properties", and I don't know kylin.web.timezone, this > propertiey should be default. > > > > > On 12/9/2016 12:05, Billy Liu<billy...@apache.org>wrote: > > Thanks for the reporting. Could you provide more information? including > Kylin server timezone, kylin.web.timezone. > > 2016-12-09 9:46 GMT+08:00 汪胜 <sky...@163.com>: > > > Sorry for that. I used JDBC and Kylin Web to test the sql query for > > streaming cube, but the records came from JDBC and Kylin Web are > incorrect. > > All of theses records' date are earlier than my PC date(8 hours). > > > > > > I found that records came from Kylin server are incorrected when I did > > query by remote debug. I guess something wrong when Kylin parsed messages > > from kafka, maybe the default time parser class didn't took the timezone > > into consideration? I'm not sure. > > > > > > Another probelm is the segments' start/end time displayed on Kylin Web, > > also earlier than my PC date. I checked the cube's json data storaged in > > HBase, and I found that these segments' start/end timestamp(transfromed > in > > to date manually) are same with my PC date. If there any probelm when > Kylin > > web tranform the segments' timestamp into date in new streaming cube? >