Coordinator rerun fails due to NPE in some cases
------------------------------------------------

                 Key: OOZIE-651
                 URL: https://issues.apache.org/jira/browse/OOZIE-651
             Project: Oozie
          Issue Type: Bug
            Reporter: Virag Kothari


CoordinatorActionInfo coordInfo = coordEngine.reRun(jobId, rerunType, scope, 
Boolean.valueOf(refresh),
                    Boolean.valueOf(noCleanup));
coordActions = coordInfo.getCoordActions();

The Coordinator rerun command requires to acquire the lock before it executes. 
If it cant get the lock, then it is queued. In this case the return value, the 
coordInfo, is null. Trying to access the coordInfo causes NPE in such a case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to