kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Yang <liy...@apache.org>
Subject Re: java.lang.NullPointerException
Date Wed, 26 Apr 2017 08:19:45 GMT
Shaofeng knows this better..

2017-04-26 15:11 GMT+08:00 35925138 <35925138@qq.com>:

> 经过测试,发现只有当我的meansures 定义了topn时,才合并索引时,才会暴这个问题,定义其他类型,例如sum时,没有这个问题,稳定通过,请各位大神看看有木有什么好建议给我。kylin版本1.6.0
> hive版本1.2.1
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "35925138";<35925138@qq.com>;
> *发送时间:* 2017年4月25日(星期二) 上午8:24
> *收件人:* "dev"<dev@kylin.apache.org>;
> *主题:* java.lang.NullPointerException
>
> 你好:
>        我再merge cube时,执行到第四步
> 的时候报错,错误的日志为:
> 2017-04-25 08:13:24,313 ERROR [IPC Server handler 3 on 41962]
> org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task:
> attempt_1492659249668_0138_m_000004_0 - exited :
> java.lang.NullPointerException
>         at org.apache.kylin.dimension.DictionaryDimEnc.<init>(
> DictionaryDimEnc.java:56)
>         at org.apache.kylin.dimension.DictionaryDimEnc.<init>(
> DictionaryDimEnc.java:51)
>         at org.apache.kylin.measure.topn.TopNMeasureType.
> getDimensionEncodings(TopNMeasureType.java:417)
>         at org.apache.kylin.measure.topn.TopNMeasureType.access$100(
> TopNMeasureType.java:52)
>         at org.apache.kylin.measure.topn.TopNMeasureType$1.
> reEncodeDictionary(TopNMeasureType.java:166)
>         at org.apache.kylin.measure.topn.TopNMeasureType$1.
> reEncodeDictionary(TopNMeasureType.java:117)
>         at org.apache.kylin.engine.mr.steps.MergeCuboidMapper.map(
> MergeCuboidMapper.java:239)
>         at org.apache.kylin.engine.mr.steps.MergeCuboidMapper.map(
> MergeCuboidMapper.java:62)
>         at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
>         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:784)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
>         at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
>         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:1628)
>         at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
>
> 这是什么问题,我改如何调整?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message