I encountered a multi-dimensional dimension of the problem, and I used
bridge table to try to solve it, but when building a cube,it report an error

java.lang.IllegalStateException: The table: DIM_XXX Dup key found,
key=[1446], value1=[1446,29,1,1], value2=[1446,28,0,0]

         at
org.apache.kylin.dict.lookup.LookupTable.initRow(LookupTable.java:86)

         at
org.apache.kylin.dict.lookup.LookupTable.init(LookupTable.java:69)

         at
org.apache.kylin.dict.lookup.LookupStringTable.init(LookupStringTable.java:7
9)

         at
org.apache.kylin.dict.lookup.LookupTable.<init>(LookupTable.java:57)

         at
org.apache.kylin.dict.lookup.LookupStringTable.<init>(LookupStringTable.java
:65)

         at
org.apache.kylin.cube.CubeManager.getLookupTable(CubeManager.java:644)

         at
org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGe
neratorCLI.java:98)

         at
org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGe
neratorCLI.java:54)

         at
org.apache.kylin.engine.mr.steps.CreateDictionaryJob.run(CreateDictionaryJob
.java:66)

         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:63)

         at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable
.java:124)

         at
org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChaine
dExecutable.java:64)

         at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable
.java:124)

         at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.
run(DefaultScheduler.java:142)

         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)

result code:2

 

 

 

Reply via email to