Hi, 昨天这个问题已经解决了,是mac对sample.sh的shell支持有问题,后来运行后发现了新的问题。在build cube后状态一直处于pending状态,查看log后没有发现error和exception,我附上从build后的log。(注:kylin.properties使用的默认配置,没有做修改)
2018-12-27 12:34:36,483 INFO [BadQueryDetector] service.BadQueryDetector:147 : Detect bad query. 2018-12-27 12:34:39,049 INFO [http-nio-7070-exec-3] common.KylinConfig:457 : Creating new manager instance of class org.apache.kylin.source.SourceManager 2018-12-27 12:34:39,061 INFO [http-nio-7070-exec-3] cube.CubeManager:316 : Updating cube instance 'kylin_sales_cube' 2018-12-27 12:34:39,062 WARN [http-nio-7070-exec-3] model.Segments:444 : NEW segment start does not fit/connect with other segments: kylin_sales_cube[20120101000000_20181201000000] 2018-12-27 12:34:39,062 WARN [http-nio-7070-exec-3] model.Segments:446 : NEW segment end does not fit/connect with other segments: kylin_sales_cube[20120101000000_20181201000000] 2018-12-27 12:34:39,063 DEBUG [http-nio-7070-exec-3] cachesync.CachedCrudAssist:190 : Saving CubeInstance at /cube/kylin_sales_cube.json 2018-12-27 12:34:39,075 DEBUG [pool-6-thread-1] cachesync.Broadcaster:113 : Servers in the cluster: [localhost:7070] 2018-12-27 12:34:39,075 DEBUG [pool-6-thread-1] cachesync.Broadcaster:123 : Announcing new broadcast to all: BroadcastEvent{entity=cube, event=update, cacheKey=kylin_sales_cube} 2018-12-27 12:34:39,098 DEBUG [http-nio-7070-exec-2] cachesync.Broadcaster:247 : Broadcasting UPDATE, cube, kylin_sales_cube 2018-12-27 12:34:39,112 DEBUG [http-nio-7070-exec-2] cachesync.Broadcaster:247 : Broadcasting UPDATE, project_data, learn_kylin 2018-12-27 12:34:39,114 INFO [http-nio-7070-exec-2] service.CacheService:120 : cleaning cache for project learn_kylin (currently remove all entries) 2018-12-27 12:34:39,114 DEBUG [http-nio-7070-exec-2] cachesync.Broadcaster:281 : Done broadcasting UPDATE, project_data, learn_kylin 2018-12-27 12:34:39,122 DEBUG [http-nio-7070-exec-2] cachesync.Broadcaster:281 : Done broadcasting UPDATE, cube, kylin_sales_cube 2018-12-27 12:34:39,167 INFO [http-nio-7070-exec-3] mr.BatchCubingJobBuilder2:52 : MR_V2 new job to BUILD segment kylin_sales_cube[20120101000000_20181201000000] 2018-12-27 12:34:39,778 DEBUG [http-nio-7070-exec-3] hbase.HBaseConnection:181 : Using the working dir FS for HBase: hdfs://localhost:9000 2018-12-27 12:34:39,820 DEBUG [pool-6-thread-1] cachesync.Broadcaster:113 : Servers in the cluster: [localhost:7070] 2018-12-27 12:34:39,820 DEBUG [pool-6-thread-1] cachesync.Broadcaster:123 : Announcing new broadcast to all: BroadcastEvent{entity=execute_output, event=create, cacheKey=acbdb1e5-eb7c-e1b8-72e1-73d72a74bfa6} 2018-12-27 12:34:39,830 DEBUG [http-nio-7070-exec-5] cachesync.Broadcaster:247 : Broadcasting CREATE, execute_output, acbdb1e5-eb7c-e1b8-72e1-73d72a74bfa6 2018-12-27 12:34:39,834 DEBUG [http-nio-7070-exec-5] cachesync.Broadcaster:281 : Done broadcasting CREATE, execute_output, acbdb1e5-eb7c-e1b8-72e1-73d72a74bfa6 2018-12-27 12:34:39,912 DEBUG [pool-6-thread-1] cachesync.Broadcaster:113 : Servers in the cluster: [localhost:7070] 2018-12-27 12:34:39,913 DEBUG [pool-6-thread-1] cachesync.Broadcaster:123 : Announcing new broadcast to all: BroadcastEvent{entity=execute, event=create, cacheKey=acbdb1e5-eb7c-e1b8-72e1-73d72a74bfa6} 2018-12-27 12:34:39,921 DEBUG [http-nio-7070-exec-10] cachesync.Broadcaster:247 : Broadcasting CREATE, execute, acbdb1e5-eb7c-e1b8-72e1-73d72a74bfa6 2018-12-27 12:34:39,924 DEBUG [http-nio-7070-exec-10] cachesync.Broadcaster:281 : Done broadcasting CREATE, execute, acbdb1e5-eb7c-e1b8-72e1-73d72a74bfa6 2018-12-27 12:35:11,022 DEBUG [http-nio-7070-exec-10] badquery.BadQueryHistoryManager:65 : Loaded 0 Bad Query(s) 2018-12-27 12:35:36,489 INFO [BadQueryDetector] service.BadQueryDetector:147 : Detect bad query. -- Sent from: http://apache-kylin.74782.x6.nabble.com/