You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Li Yang <li...@apache.org> on 2016/05/22 04:42:14 UTC

Re: Build Dimension Dictionary step exception : Value not exists!

Your lookup table was changed during the cube build?

On Wed, May 18, 2016 at 4:15 PM, Peng <pe...@outlook.com> wrote:

> Hi,
>
>    I have a problem at build dimension dictionary , and the exception
> appears both build and refresh!
>
>
>
> ERROR [pool-5-thread-10] execution.AbstractExecutable:62 : error execute
> HadoopShellExecutable{id=b57e3d97-5414-4690-ae98-ddf24bd215f1-02,
> name=Build
> Dimension Dictionary, state=RUNNING}
>
> java.lang.IllegalArgumentException: Value not exists!
>
>        at
>
> org.apache.kylin.dimension.Dictionary.getIdFromValueBytes(Dictionary.java:16
> 0)
>
>        at
>
> org.apache.kylin.dict.TrieDictionary.getIdFromValueImpl(TrieDictionary.java:
> 158)
>
>        at
> org.apache.kylin.dimension.Dictionary.getIdFromValue(Dictionary.java:96)
>
>        at
> org.apache.kylin.dimension.Dictionary.getIdFromValue(Dictionary.java:76)
>
>        at
>
> org.apache.kylin.dict.lookup.SnapshotTable.takeSnapshot(SnapshotTable.java:9
> 6)
>
>        at
>
> org.apache.kylin.dict.lookup.SnapshotManager.buildSnapshot(SnapshotManager.j
> ava:106)
>
>        at
> org.apache.kylin.cube.CubeManager.buildSnapshotTable(CubeManager.java:209)
>
>        at
>
> org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGe
> neratorCLI.java:59)
>
>        at
>
> org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGe
> neratorCLI.java:42)
>
>        at
>
> org.apache.kylin.engine.mr.steps.CreateDictionaryJob.run(CreateDictionaryJob
> .java:56)
>
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>
>        at
>
> org.apache.kylin.engine.mr.common.HadoopShellExecutable.doWork(HadoopShellEx
> ecutable.java:60)
>
>        at
>
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable
> .java:114)
>
>        at
>
> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChaine
> dExecutable.java:50)
>
>        at
>
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable
> .java:114)
>
>        at
>
> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultS
> cheduler.java:124)
>
>        at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
> 45)
>
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
> 15)
>
>        at java.lang.Thread.run(Thread.java:745
>
>
>
>
>
> Thanks
>
> Peng
>
>