[
https://issues.apache.org/jira/browse/OOZIE-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Purshotam Shah updated OOZIE-2522:
----------------------------------
Description:
Bundle queue coord submit command to create coord job.
CoordSubmitXCommand doesn't acquire any lock. CoordSubmitXCommand inserts
entries to DB and calls BundleStatusUpdateXCommand to update bundle action. At
the same time, if there is any ZK glitch, BundleStatusUpdateXCommand will fail
( because it needs to acquire lock) and RecoveryService will submit duplicate
jobs.
> There can be multiple coord submit from bundle if case of ZK glitch
> -------------------------------------------------------------------
>
> Key: OOZIE-2522
> URL: https://issues.apache.org/jira/browse/OOZIE-2522
> Project: Oozie
> Issue Type: Bug
> Reporter: Purshotam Shah
>
> Bundle queue coord submit command to create coord job.
> CoordSubmitXCommand doesn't acquire any lock. CoordSubmitXCommand inserts
> entries to DB and calls BundleStatusUpdateXCommand to update bundle action.
> At the same time, if there is any ZK glitch, BundleStatusUpdateXCommand will
> fail ( because it needs to acquire lock) and RecoveryService will submit
> duplicate jobs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)