Hi Tony, It seems your cube isn't partitioned (no partition date column specified); please check or provide the cube JSON.
2016-09-21 0:30 GMT+08:00 Alberto Ramón <[email protected]>: > I don't know but , can you check this change?: KYLIN-1744 > <https://issues.apache.org/jira/browse/KYLIN-1744> in V1.3 > > > 2016-09-20 14:50 GMT+02:00 Tony Lee <[email protected]>: > >> Hi, >> >> I was building cube from stream as the document(http://kylin.apache.o >> rg/docs15/tutorial/cube_streaming.html >> >> ) says. >> >> I was using 1.5.3, and i encounter this error. Same error on 1.5.4. >> Everything fine on 1.5.2.1. >> >> Any idea how to solve this? >> >> >> 2016-09-20 20:31:51,520 INFO [main KafkaStreamingInput:129]: finish to >> get streaming batch, total message count:30 >> 2016-09-20 20:31:51,532 DEBUG [main CubeManager:855]: Reloaded new cube: >> STREAMING_CUBE with reference beingCUBE[name=STREAMING_CUBE] having 1 >> segments:KYLIN_2822I1W3CX >> 2016-09-20 20:31:51,536 INFO [main CubeManager:314]: Updating cube >> instance 'STREAMING_CUBE' >> 2016-09-20 20:31:51,538 WARN [main StreamingCLI:127]: invalid >> args:streaming start STREAMING_CUBE 1474374540000_1474374600000 -start >> 1474374540000 -end 1474374600000 -cube STREAMING_CUBE >> 2016-09-20 20:31:51,539 ERROR [main StreamingCLI:103]: error start >> streaming >> java.lang.IllegalStateException: Segments overlap: >> STREAMING_CUBE[FULL_BUILD] and STREAMING_CUBE[FULL_BUILD] >> at org.apache.kylin.cube.CubeValidator.validate(CubeValidator.java:85) >> at org.apache.kylin.cube.CubeManager.updateCubeWithRetry(CubeMa >> nager.java:358) >> at org.apache.kylin.cube.CubeManager.updateCube(CubeManager.java:301) >> at org.apache.kylin.cube.CubeManager.appendSegment(CubeManager.java:441) >> at org.apache.kylin.engine.streaming.cube.StreamingCubeBuilder. >> createBuildable(StreamingCubeBuilder.java:118) >> at org.apache.kylin.engine.streaming.OneOffStreamingBuilder$1. >> run(OneOffStreamingBuilder.java:76) >> at org.apache.kylin.engine.streaming.cli.StreamingCLI.startOneO >> ffCubeStreaming(StreamingCLI.java:123) >> at org.apache.kylin.engine.streaming.cli.StreamingCLI.main( >> StreamingCLI.java:97) >> 2016-09-20 20:31:51,543 INFO [Thread-0 >> ConnectionManager$HConnectionImplementation:1678]: >> Closing zookeeper sessionid=0x35708fbc2740013 >> 2016-09-20 20:31:51,549 INFO [Thread-0 ZooKeeper:684]: Session: >> 0x35708fbc2740013 closed >> 2016-09-20 20:31:51,549 INFO [main-EventThread ClientCnxn:512]: >> EventThread shut down >> >> > -- Best regards, Shaofeng Shi 史少锋
