You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "apache_dev@163.com" <ap...@163.com> on 2017/10/13 15:51:17 UTC

when run cube 3 step ,get error.

Hi,


  Env:kylin2.1 HDP2.5.3


when cube run 

#3 Step Name: Extract Fact Table Distinct Columns
Duration: 0.87 mins Waiting: 12 seconds

It  failed.Hadoop error is:

Error: java.lang.NullPointerException at org.apache.kylin.cube.model.RowKeyDesc.getColDesc(RowKeyDesc.java:64) at org.apache.kylin.cube.model.RowKeyDesc.isUseDictionary(RowKeyDesc.java:71) at org.apache.kylin.cube.model.CubeDesc.getAllColumnsHaveDictionary(CubeDesc.java:1165) at org.apache.kylin.cube.model.CubeDesc.getAllColumnsNeedDictionaryBuilt(CubeDesc.java:1191) at org.apache.kylin.cube.CubeManager.getAllDictColumnsOnFact(CubeManager.java:900) at org.apache.kylin.engine.mr.steps.FactDistinctColumnsMapperBase.setup(FactDistinctColumnsMapperBase.java:79) at org.apache.kylin.engine.mr.steps.FactDistinctColumnsMapper.setup(FactDistinctColumnsMapper.java:86) at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341) at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724) at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)


What is the cause?



apache_dev@163.com

Re: when run cube 3 step ,get error.

Posted by ShaoFeng Shi <sh...@apache.org>.
No clue with only this stack trace. Need the Model/Cube definition JSON for
troubleshooting. Besides, did you create the Cube by Kylin web, or with
another way?

2017-10-13 23:51 GMT+08:00 apache_dev@163.com <ap...@163.com>:

> Hi,
>
>
>   Env:kylin2.1 HDP2.5.3
>
>
> when cube run
>
> #3 Step Name: Extract Fact Table Distinct Columns
> Duration: 0.87 mins Waiting: 12 seconds
>
> It  failed.Hadoop error is:
>
> Error: java.lang.NullPointerException at org.apache.kylin.cube.model.
> RowKeyDesc.getColDesc(RowKeyDesc.java:64) at org.apache.kylin.cube.model.
> RowKeyDesc.isUseDictionary(RowKeyDesc.java:71) at
> org.apache.kylin.cube.model.CubeDesc.getAllColumnsHaveDictionary(CubeDesc.java:1165)
> at org.apache.kylin.cube.model.CubeDesc.getAllColumnsNeedDictionaryBuilt(CubeDesc.java:1191)
> at org.apache.kylin.cube.CubeManager.getAllDictColumnsOnFact(CubeManager.java:900)
> at org.apache.kylin.engine.mr.steps.FactDistinctColumnsMapperBase.setup(
> FactDistinctColumnsMapperBase.java:79) at org.apache.kylin.engine.mr.
> steps.FactDistinctColumnsMapper.setup(FactDistinctColumnsMapper.java:86)
> at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143) at
> org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787) at
> org.apache.hadoop.mapred.MapTask.run(MapTask.java:341) at
> org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168) at
> java.security.AccessController.doPrivileged(Native Method) at
> javax.security.auth.Subject.doAs(Subject.java:422) at
> org.apache.hadoop.security.UserGroupInformation.doAs(
> UserGroupInformation.java:1724) at org.apache.hadoop.mapred.
> YarnChild.main(YarnChild.java:162)
>
>
> What is the cause?
>
>
>
> apache_dev@163.com
>



-- 
Best regards,

Shaofeng Shi 史少锋