[ https://issues.apache.org/jira/browse/OOZIE-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15115881#comment-15115881 ]
Purshotam Shah commented on OOZIE-2434: --------------------------------------- +1. Thanks [~satishsaley] for the patch. Committed to trunk. > inconsistent coord action status and workflow job status > -------------------------------------------------------- > > Key: OOZIE-2434 > URL: https://issues.apache.org/jira/browse/OOZIE-2434 > Project: Oozie > Issue Type: Bug > Reporter: Satish Subhashrao Saley > Assignee: Satish Subhashrao Saley > Priority: Minor > Attachments: OOZIE-2434-1.patch > > > 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) -- This message was sent by Atlassian JIRA (v6.3.4#6332)