You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Virag Kothari (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/25 02:42:41 UTC

[jira] [Resolved] (OOZIE-651) Coordinator rerun fails due to NPE in some cases

     [ https://issues.apache.org/jira/browse/OOZIE-651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Virag Kothari resolved OOZIE-651.
---------------------------------

    Resolution: Fixed
    
> 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