Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1581

NPE in Job engine when execute MR job

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v1.5.0, v1.5.1
    • v1.5.2
    • None
    • None

    Description

      An NPE throws when executing a job step:

      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
      
      

      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.

      Attachments

        Activity

          People

            shaofengshi Shao Feng Shi
            shaofengshi Shao Feng Shi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: