Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2434

inconsistent coord action status and workflow job status

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      if subworkflow is in prep and if we try to kill, it throws NPE, bcz hadoop job URL is not set.
      JOB[0128514-150302080500427-oozie_AR-W] ACTION[0128514-150302080500427-oozie_AR-W@subwf1] Exception while executing kill(). Error Code [NullPointerException], Message[NullPointerException: null]
      org.apache.oozie.action.ActionExecutorException: NullPointerException: null
      at org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:402)
      at org.apache.oozie.action.oozie.SubWorkflowActionExecutor.kill(SubWorkflowActionExecutor.java:245)
      at org.apache.oozie.command.wf.ActionKillXCommand.execute(ActionKillXCommand.java:141)
      at org.apache.oozie.command.wf.ActionKillXCommand.execute(ActionKillXCommand.java:58)
      at org.apache.oozie.command.XCommand.call(XCommand.java:286)
      at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:321)
      at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:250)
      at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
      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.oozie.action.oozie.SubWorkflowActionExecutor.getWorkflowClient(SubWorkflowActionExecutor.java:79)
      at org.apache.oozie.action.oozie.SubWorkflowActionExecutor.kill(SubWorkflowActionExecutor.java:240)

        Attachments

        1. OOZIE-2434-1.patch
          3 kB
          Satish Saley

          Activity

            People

            • Assignee:
              satishsaley Satish Saley
              Reporter:
              satishsaley Satish Saley
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: