[ 
https://issues.apache.org/jira/browse/KYLIN-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy Liu updated KYLIN-2470:
-----------------------------
    Summary: cube build failed when 0 bytes input for non-partition fact table  
(was: cube build failed when no records matching the segment time range)

> cube build failed when 0 bytes input for non-partition fact table
> -----------------------------------------------------------------
>
>                 Key: KYLIN-2470
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2470
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v1.6.0
>         Environment: hadoop2.7.3 hive2.1.1 hbase1.2.4 
> apache-kylin-1.6.0-hbase1.x-bin
>            Reporter: zhou degao
>            Assignee: liyang
>            Priority: Major
>              Labels: newbie
>             Fix For: v2.3.0
>
>
> I hope the build will be successful then there is no hive data partitions.
> ERRORS are:
> java.lang.IllegalArgumentException: Map input splits are 0 bytes, something 
> is wrong!
>       at 
> org.apache.kylin.engine.mr.common.AbstractHadoopJob.getTotalMapInputMB(AbstractHadoopJob.java:555)
>       at 
> org.apache.kylin.engine.mr.steps.CuboidJob.setReduceTaskNum(CuboidJob.java:175)
>       at org.apache.kylin.engine.mr.steps.CuboidJob.run(CuboidJob.java:138)
>       at org.apache.kylin.engine.mr.MRUtil.runMRJob(MRUtil.java:92)
>       at 
> org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:120)
>       at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:113)
>       at 
> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:57)
>       at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:113)
>       at 
> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:136)
>       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)
> result code:2
> In another environment 
> (hadoop2.6.4,hive1.2.1,hbase1.1.3,apache-kylin-1.6.0-hbase1.x-bin) the cube 
> build is successful if there is no hive data partitions from start time to 
> end time .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to