You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2016/06/20 13:23:05 UTC

[jira] [Created] (OOZIE-2580) TestBundleChangeXCommand. testBundlePauseExtendMaterializesCoordinator is flaky

Peter Bacsko created OOZIE-2580:
-----------------------------------

             Summary: 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


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)