YARN-3794. TestRMEmbeddedElector fails because of ambiguous LOG reference.

Contributed by Chengbing Liu.
This commit is contained in:
Devaraj K 2015-06-12 13:42:49 +05:30
parent 83e8110f87
commit d8dcfa98e3
2 changed files with 5 additions and 2 deletions

View File

@ -521,6 +521,9 @@ Release 2.8.0 - UNRELEASED
YARN-3778. Fix Yarn resourcemanger CLI usage. (Brahma Reddy Battula via xgong) YARN-3778. Fix Yarn resourcemanger CLI usage. (Brahma Reddy Battula via xgong)
YARN-3794. TestRMEmbeddedElector fails because of ambiguous LOG reference.
(Chengbing Liu via devaraj)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -102,9 +102,9 @@ public class TestRMEmbeddedElector extends ClientBaseWithFixes {
ServiceFailedException { ServiceFailedException {
try { try {
callbackCalled.set(true); callbackCalled.set(true);
LOG.info("Callback called. Sleeping now"); TestRMEmbeddedElector.LOG.info("Callback called. Sleeping now");
Thread.sleep(delayMs); Thread.sleep(delayMs);
LOG.info("Sleep done"); TestRMEmbeddedElector.LOG.info("Sleep done");
} catch (InterruptedException e) { } catch (InterruptedException e) {
e.printStackTrace(); e.printStackTrace();
} }