[
https://issues.apache.org/jira/browse/OOZIE-2580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340710#comment-15340710
]
Peter Bacsko commented on OOZIE-2580:
-------------------------------------
Note: the provided patch is *not working*. Root cause might probably related a
background service which runs periodically.
I will keep investigating.
> TestBundleChangeXCommand.testBundlePauseExtendMaterializesCoordinator is flaky
> ------------------------------------------------------------------------------
>
> Key: OOZIE-2580
> URL: https://issues.apache.org/jira/browse/OOZIE-2580
> Project: Oozie
> Issue Type: Bug
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Minor
> Attachments: OOZIE-2580-001.patch, OOZIE-2580-002.patch
>
>
> The test case TestBundleChangeXCommand.
> testBundlePauseExtendMaterializesCoordinator is unstable.
> The problem is that PauseTransitService might actually unpause the bundle
> generated by the test.
> {code}
> 14:45:11,106 [pool-1-thread-1] INFO Services:520 - USER[test] GROUP[-]
> TOKEN[] APP[test] JOB[0000000-160616144504203-oozie-root-B] ACTION[]
> Initialized
> 14:45:11,106 [pool-1-thread-1] INFO Services:520 - USER[test] GROUP[-]
> TOKEN[] APP[test] JOB[0000000-160616144504203-oozie-root-B] ACTION[] Running
> with JARs for Hadoop version [1.2.1]
> 14:45:11,106 [pool-1-thread-1] INFO Services:520 - USER[test] GROUP[-]
> TOKEN[] APP[test] JOB[0000000-160616144504203-oozie-root-B] ACTION[] Oozie
> System ID [oozie-root] started!
> 14:45:12,257 [pool-3440-thread-2] DEBUG BundleUnpauseXCommand:526 - USER[-]
> GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] Acquired lock for
> [0000000-160616144511028-oozie-root-B] in [bundle_unpause]
> 14:45:12,257 [pool-3440-thread-2] DEBUG BundleUnpauseXCommand:526 -
> USER[test] GROUP[-] TOKEN[] APP[BUNDLE-TEST]
> JOB[0000000-160616144511028-oozie-root-B] ACTION[-] Execute command
> [bundle_unpause] key [0000000-160616144511028-oozie-root-B]
> 14:45:12,258 [pool-3440-thread-2] INFO JPAService:520 - USER[test] GROUP[-]
> TOKEN[] APP[BUNDLE-TEST] JOB[0000000-160616144511028-oozie-root-B] ACTION[-]
> *** Executing Update/Delete Query [UPDATE_BUNDLE_JOB_STATUS]
> 14:45:12,259 [pool-3440-thread-2] DEBUG BundleUnpauseXCommand:526 -
> USER[test] GROUP[-] TOKEN[] APP[BUNDLE-TEST]
> JOB[0000000-160616144511028-oozie-root-B] ACTION[-] Released lock for
> [0000000-160616144511028-oozie-root-B] in [bundle_unpause]
> {code}
> Suggested solution: simply disable PauseTransitService for all tests in the
> class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)