You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "446463844@qq.com" <44...@qq.com> on 2017/01/04 02:40:47 UTC

I have meet a problem with kylin Global dictionary

Hi:
I meet a problem with kylin Global dictionary today.
When I build a cube today.and I meet a problem at below
-----------------------------------------------------
java.lang.RuntimeException: Failed to create dictionary on XXXX
	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:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: GlobalDict /dict/XXX/ROWKEY should have 0 or 1 append dict but 2
	at org.apache.kylin.dict.GlobalDictionaryBuilder.build(GlobalDictionaryBuilder.java:68)
	at org.apache.kylin.dict.DictionaryGenerator.buildDictionary(DictionaryGenerator.java:81)
	at org.apache.kylin.dict.DictionaryManager.buildDictionary(DictionaryManager.java:323)
	... 14 more
 ------------------------------------
Some one can do help for me ? thanks


446463844@qq.com

Re: Re: I have meet a problem with kylin Global dictionary

Posted by "446463844@qq.com" <44...@qq.com>.
I  forget the pictrue ,sorry



446463844@qq.com
 
From: 446463844@qq.com
Date: 2017-01-04 11:24
To: dev
Subject: Re: I have meet a problem with kylin Global dictionary
I  find the code in kylin-core-dictionary project

It seems more than one object in cache.



446463844@qq.com
 
From: 446463844@qq.com
Date: 2017-01-04 10:40
To: dev@kylin.apache.org
Subject: I have meet a problem with kylin Global dictionary
 
Hi:
I meet a problem with kylin Global dictionary today.
When I build a cube today.and I meet a problem at below
-----------------------------------------------------
java.lang.RuntimeException: Failed to create dictionary on XXXX
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: GlobalDict /dict/XXX/ROWKEY should have 0 or 1 append dict but 2
at org.apache.kylin.dict.GlobalDictionaryBuilder.build(GlobalDictionaryBuilder.java:68)
at org.apache.kylin.dict.DictionaryGenerator.buildDictionary(DictionaryGenerator.java:81)
at org.apache.kylin.dict.DictionaryManager.buildDictionary(DictionaryManager.java:323)
... 14 more
------------------------------------
Some one can do help for me ? thanks
 
 
446463844@qq.com

Re: I have meet a problem with kylin Global dictionary

Posted by read2me <re...@gmail.com>.
I have met the same problem,how to solve it?

--
View this message in context: http://apache-kylin.74782.x6.nabble.com/I-have-meet-a-problem-with-kylin-Global-dictionary-tp6823p6895.html
Sent from the Apache Kylin mailing list archive at Nabble.com.

Re: I have meet a problem with kylin Global dictionary

Posted by "446463844@qq.com" <44...@qq.com>.
I  find the code in kylin-core-dictionary project

It seems more than one object in cache.



446463844@qq.com
 
From: 446463844@qq.com
Date: 2017-01-04 10:40
To: dev@kylin.apache.org
Subject: I have meet a problem with kylin Global dictionary
 
Hi:
I meet a problem with kylin Global dictionary today.
When I build a cube today.and I meet a problem at below
-----------------------------------------------------
java.lang.RuntimeException: Failed to create dictionary on XXXX
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: GlobalDict /dict/XXX/ROWKEY should have 0 or 1 append dict but 2
at org.apache.kylin.dict.GlobalDictionaryBuilder.build(GlobalDictionaryBuilder.java:68)
at org.apache.kylin.dict.DictionaryGenerator.buildDictionary(DictionaryGenerator.java:81)
at org.apache.kylin.dict.DictionaryManager.buildDictionary(DictionaryManager.java:323)
... 14 more
------------------------------------
Some one can do help for me ? thanks
 
 
446463844@qq.com