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

inconsistent coord action status and workflow job status

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.3.0
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment