[
https://issues.apache.org/jira/browse/OOZIE-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318871#comment-15318871
]
Purshotam Shah commented on OOZIE-2522:
---------------------------------------
Thanks Rohini for review. Committed to trunk.
> There can be multiple coord submit from bundle in case of ZK glitch
> -------------------------------------------------------------------
>
> Key: OOZIE-2522
> URL: https://issues.apache.org/jira/browse/OOZIE-2522
> Project: Oozie
> Issue Type: Bug
> Reporter: Purshotam Shah
> Assignee: Purshotam Shah
> Fix For: trunk
>
> Attachments: OOZIE-2522-V3.patch, OOZIE-2522-V6.patch,
> OOZIE-2522-V7.patch, OOZIE-2522-V7.patch, OOZIE-2522-V7.patch,
> OOZIE-2522-V7.patch
>
>
> 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)