[
https://issues.apache.org/jira/browse/OOZIE-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15732127#comment-15732127
]
Andras Piros commented on OOZIE-2629:
-------------------------------------
[~yangyishan0901m] Can you please upload the patch to reviewboard? And, in
beforehand, address [*the failing
test*|https://builds.apache.org/job/oozie-trunk-precommit-build/3497/testReport/org.apache.oozie.tools/TestOozieSharelibCLI/testOozieSharelibCLICreateConcurrent/]?
Thanks!
> Get OozieShareLibCLI to perform a final rename to destPath when creating a
> Sharelib
> -----------------------------------------------------------------------------------
>
> Key: OOZIE-2629
> URL: https://issues.apache.org/jira/browse/OOZIE-2629
> Project: Oozie
> Issue Type: Improvement
> Affects Versions: 4.3.0
> Reporter: Yishan Yang
> Priority: Minor
> Fix For: trunk
>
> Attachments: OOZIE-2629-1.patch, OOZIE-2629-2.patch
>
>
> Change the OozieShareLibCLI to perform a final 'rename' to avoid a condition
> where 'half' of the sharelib could exist during sharelib installation, if
> Oozie attempts to run a workflow at the same time as the sharelib
> installation. Oozie will only start if the sharelib exists, but this by
> itself is not enough since the sharelib could be in an unusable state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)