步骤7 build base长方体上的kylin构建错误

vsmadaxz  于 2021-06-26  发布在  Kylin
关注(0)|答案(1)|浏览(485)

我试着按照这个链接上的说明创建示例立方体。生成在步骤7失败,错误消息如下。感谢您的帮助
电子病历:5.4.0 hbase:1.3.0 kylin:2.0.0

java.lang.IllegalArgumentException: Map input splits are 0 bytes, something is wrong!
at org.apache.kylin.engine.mr.common.AbstractHadoopJob.getTotalMapInputMB(AbstractHadoopJob.java:573)
at org.apache.kylin.engine.mr.steps.CuboidJob.run(CuboidJob.java:134)
at org.apache.kylin.engine.mr.MRUtil.runMRJob(MRUtil.java:102)
at org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:123)
at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:124)
at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:64)
at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:124)
at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:142)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

结果code:2

quhf5bfb

quhf5bfb1#

可能是日期列为空或记录不在开始日期和结束日期之间。
在logs文件夹中打开kylin.log并检查存储中间数据的查询在配置单元中执行该查询检查结果是否出现(类似这样的查询)

""""INSERT OVERWRITE TABLE kylin_intermediate_cube2_70c3e71d_f9a8_4ed1_91a9_d12dd649a9b1 SELECT                                                          
BMS_TRANSACTIONS1.MAX_SEQ                                                                                                                            
,BMS_TRANSACTIONS1.TRX_TYPE                                                                                                                          
FROM BMS.BMS_TRANSACTIONS1 as BMS_TRANSACTIONS1                                                                                                      
WHERE (BMS_TRANSACTIONS1.TRX_DATE >= '2012-04-09' AND BMS_TRANSACTIONS1.TRX_DATE < '2017-07-27')                                                     
;     """

相关问题