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

tangyupeng commented on KYLIN-3979:
-----------------------------------

By the way, how to fix this problem.
 # backup metadata
 # Under backuped metadata folder, find files in execute folder but not in 
execute_output folder. These files are the inconsistent Job IDs.
 # Remove the job from the metadata through command. And then reload meta data, 
problem solved.

{code:java}
metastore.sh remove /execute/jobId{code}
 

> Job Fetcher caught a exception java.lang.IllegalArgumentException: there is 
> no related output for job
> -----------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-3979
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3979
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: v2.6.1
>            Reporter: tangyupeng
>            Priority: Minor
>
> After Kylin restart, it failed to load job information through the "Monitor" 
> tab.  Use command 'metastore.sh clean' seems not working, Kylin still has the 
> same problem. The log is attached here:
> {code:java}
> // code placeholder
> 2019-04-24 06:33:46,750 WARN [pool-9-thread-1] 
> threadpool.DefaultFetcherRunner:99 : Job Fetcher caught a exception
> java.lang.IllegalArgumentException: there is no related output for job 
> id:484b1cb1-54a7-1ded-3cf6-928686557585
> at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
> at 
> org.apache.kylin.job.execution.ExecutableManager.getOutputDigest(ExecutableManager.java:179)
> at 
> org.apache.kylin.job.impl.threadpool.DefaultFetcherRunner.run(DefaultFetcherRunner.java:61)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> 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)
> 2019-04-24 06:34:09,210 ERROR [http-bio-7070-exec-10] 
> controller.JobController:89 :
> java.lang.NullPointerException
> at org.apache.kylin.rest.service.JobService$22.apply(JobService.java:1113)
> at org.apache.kylin.rest.service.JobService$22.apply(JobService.java:1107)
> at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:343)
> at com.google.common.collect.Iterators$7.computeNext(Iterators.java:702)
> ...
> at java.lang.Thread.run(Thread.java:748)
> 2019-04-24 06:34:09,212 ERROR [http-bio-7070-exec-10] 
> controller.BasicController:63 :
> org.apache.kylin.rest.exception.InternalErrorException: 
> java.lang.NullPointerException{code}
> The reason is that Job plan and Job output has consystent data. But "clean" 
> command seems not clean up the unconsistent meta data.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to