[ https://issues.apache.org/jira/browse/KYLIN-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shaofeng SHI closed KYLIN-2372. ------------------------------- Resolution: Incomplete > build with global dictionary error at step:Build Dimension Dictionary > --------------------------------------------------------------------- > > Key: KYLIN-2372 > URL: https://issues.apache.org/jira/browse/KYLIN-2372 > Project: Kylin > Issue Type: Bug > Components: Measure - Count Distinct > Affects Versions: v1.6.0 > Environment: hadoop2.6.4,hive2.1.0,hbase1.2.3 > Reporter: readme_kylin > Priority: Major > > when i build the second segment,error occurs.Here is the more info. > java.lang.RuntimeException: Failed to create dictionary on XXXXX.UDID > at > org.apache.kylin.dict.DictionaryManager.buildDictionary(DictionaryManager.java:325) > at > org.apache.kylin.cube.CubeManager.buildDictionary(CubeManager.java:222) > at > org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:50) > at > org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:41) > at > org.apache.kylin.engine.mr.steps.CreateDictionaryJob.run(CreateDictionaryJob.java:54) > 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(HadoopShellExecutable.java:63) > 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:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.RuntimeException > at > org.apache.kylin.dict.CachedTreeMap.writeValue(CachedTreeMap.java:240) > at org.apache.kylin.dict.CachedTreeMap.write(CachedTreeMap.java:374) > at > org.apache.kylin.dict.AppendTrieDictionary.flushIndex(AppendTrieDictionary.java:1043) > at > org.apache.kylin.dict.AppendTrieDictionary$Builder.build(AppendTrieDictionary.java:954) > at > org.apache.kylin.dict.GlobalDictionaryBuilder.build(GlobalDictionaryBuilder.java:82) > at > org.apache.kylin.dict.DictionaryGenerator.buildDictionary(DictionaryGenerator.java:81) > at > org.apache.kylin.dict.DictionaryManager.buildDictionary(DictionaryManager.java:323) > ... 14 more > result code:2 -- This message was sent by Atlassian JIRA (v7.6.3#76005)