[ 
https://issues.apache.org/jira/browse/OOZIE-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893683#comment-13893683
 ] 

Rohini Palaniswamy commented on OOZIE-1687:
-------------------------------------------


(bundleaction.getCoordId() != null && bundleaction.isTerminalStatus() && 
coordjob
.isTerminalStatus()))
bq. Above condition in BundleStatusUpdateXCommand, will it not change a 
terminal bundleaction to a nonterminal state?
  No. It only changes if both bundleaction and coordjob are in terminal status. 
 assertEquals(CoordinatorJobBean.Status.KILLED, action.getStatus());
bq. action here is bundle action, compare it with bundle action status to be 
non ambiguous (even though the string value is essentially same)
  Does not matter. Both extend Job.Status and are the same.



> Bundle can still be in RUNNINGWITHERROR status after bundle kill
> ----------------------------------------------------------------
>
>                 Key: OOZIE-1687
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1687
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Rohini Palaniswamy
>            Assignee: Rohini Palaniswamy
>             Fix For: trunk
>
>         Attachments: OOZIE-1687-1.patch
>
>
> Race condition between StatusTransitService (does not acquire lock) and 
> BundleKillCommand can leave a bundle action with pending=1 and terminal 
> status. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to