Shaofeng SHI created KYLIN-1581:
-----------------------------------
Summary: NPE in Job engine when execute MR job
Key: KYLIN-1581
URL: https://issues.apache.org/jira/browse/KYLIN-1581
Project: Kylin
Issue Type: Bug
Affects Versions: v1.5.1, v1.5.0
Reporter: Shaofeng SHI
An NPE throws when executing a job step:
{code}
org.apache.kylin.job.exception.ExecuteException: java.lang.NullPointerException
at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:124)
at
org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:124)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at
org.apache.kylin.engine.mr.common.MapReduceExecutable.onExecuteStart(MapReduceExecutable.java:77)
at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:105)
at
org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:50)
at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:114)
... 4 more
{code}
It looks like that, this step had been executed before, maybe after a restart
it wants to check the job's status from hadoop, but the recorded job id wasn't
found in hadoop, caused this NPE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)