You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "FunkyYang (JIRA)" <ji...@apache.org> on 2017/01/04 07:34:58 UTC

[jira] [Commented] (KYLIN-2352) more than one same object in cache when build cube

    [ https://issues.apache.org/jira/browse/KYLIN-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15797445#comment-15797445 ] 

FunkyYang commented on KYLIN-2352:
----------------------------------

I delete file in HDFS in /kylin/kylin_metadata/resources/GlobalDict/dict/sourceTableName/sourceColumn/cache_files.and I restart the kylin progress.But I still find It error when I build cube.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
java.lang.RuntimeException: Failed to create dictionary on xxx.xxx
	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/xxx should have 0 or 1 append dict but 2

> more than one same object in cache when  build cube
> ---------------------------------------------------
>
>                 Key: KYLIN-2352
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2352
>             Project: Kylin
>          Issue Type: Bug
>          Components: Tools, Build and Test
>            Reporter: FunkyYang
>            Assignee: hongbin ma
>            Priority: Minor
>
> When I build a cube today.I meet a problem 
> more than one same object in cache at Global dictionary when build a cube
> I don't kown how this happend . and I found the code that it read data from HDFS . 
> this is mine Global dict in HDFS . 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  /kylin/kylin_metadata/resources/GlobalDict/dict/XXX/ROWKEY/.index
> /kylin/kylin_metadata/resources/GlobalDict/dict/XXX/ROWKEY/cached_000000017DD03
> /kylin/kylin_metadata/resources/GlobalDict/dict/XXX/ROWKEY/cached_000000017DD036D05070400014B4050F
> /kylin/kylin_metadata/resources/GlobalDict/dict/XXX/ROWKEY/cached_580a02758a9ae
> /kylin/kylin_metadata/resources/GlobalDict/dict/XXX/ROWKEY/cached_58605953e7290
>  /kylin/kylin_metadata/resources/GlobalDict/dict/XXX/ROWKEY/cached_58655d0a78681
> I get a file in local file system and read it.It is Serializable  so I can't find any infomation .
> How can I fix this problem 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)