You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (Jira)" <ji...@apache.org> on 2021/02/08 06:52:00 UTC

[jira] [Closed] (KYLIN-4885) "No dictionary found" after running MetadataCleanupJob

     [ https://issues.apache.org/jira/browse/KYLIN-4885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaoxiang Yu closed KYLIN-4885.
-------------------------------
    Resolution: Implemented

> "No dictionary found" after running MetadataCleanupJob
> ------------------------------------------------------
>
>                 Key: KYLIN-4885
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4885
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v2.3.0
>            Reporter: vergilchiu
>            Priority: Major
>             Fix For: v3.1.2
>
>
> Some erros happend after I ran MetadataCleanupJob script.
> -----heres is merge job erro------
> java.lang.IllegalStateException: No resource found at -- /dict/DM_BA.V_KYLIN_DM_HIVEBOX_IN_AND_OUT_STATS/P_HOUR/461eb5df-7aa9-413f-9661-0ecfdd1d3498.dict
> 	at org.apache.kylin.engine.mr.common.JobRelatedMetaUtil.dumpResources(JobRelatedMetaUtil.java:65)
> 	at org.apache.kylin.engine.mr.common.AbstractHadoopJob.dumpKylinPropsAndMetadata(AbstractHadoopJob.java:574)
> 	at org.apache.kylin.engine.mr.common.AbstractHadoopJob.attachCubeMetadataWithDict(AbstractHadoopJob.java:519)
> 	at org.apache.kylin.engine.mr.steps.MergeCuboidJob.run(MergeCuboidJob.java:64)
> 	at org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:130)
> 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:162)
> 	at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:67)
> 	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:162)
> 	at org.apache.kylin.job.impl.threadpool.DistributedScheduler$JobRunner.run(DistributedScheduler.java:158)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> result code:2
> ------here is query erro-----
> No dictionary found by /dict/FACT_RD.FACT_ASR_CONTEXT_REQUESTS/P_HOUR/9295e522-8be6-4e24-800c-e23c4eea4dcf.dict, invalid cube state;
>  
> -----my MetadataCleanupJob script cmd----
> ${KYLIN_HOME}/bin/metastore.sh clean --jobThreshold 40 --delete true
>  
> ps : clean script runs at every weedend
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)