Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
@Override public String getEntityKey() { return actionId; } protected Void execute() throws CommandException { ..... LOG.debug("Updating Coordinator actionId :" + coordAction.getId() + "status to =" + coordAction.getStatus()); coordAction.setLastModifiedTime(new Date()); updateList.add(new UpdateEntry<CoordActionQuery>(CoordActionQuery.UPDATE_COORD_ACTION_STATUS_PENDING_TIME, coordAction)); ......
Only CoordActionCheckXCommand acquire lock on action id. All other action command acquires job id. This can cause race condition.
Attachments
Issue Links
- relates to
-
OOZIE-2661 Coordinator Action status not updated when workflow job SUSPENDED
- Closed