YARN-4614. Fix random failure in TestApplicationPriority#testApplicationPriorityAllocationWithChangeInPriority. (Sunil G via rohithsharmaks)

(cherry picked from commit 99829eb221)
This commit is contained in:
rohithsharmaks 2016-01-23 07:56:15 +05:30
parent c1953e5e91
commit 80928af293
2 changed files with 3 additions and 1 deletions

View File

@ -1167,6 +1167,9 @@ Release 2.8.0 - UNRELEASED
YARN-4605. Spelling mistake in the help message of "yarn applicationattempt" YARN-4605. Spelling mistake in the help message of "yarn applicationattempt"
command. (Weiwei Yang via aajisaka) command. (Weiwei Yang via aajisaka)
YARN-4614. Fix random failure in TestApplicationPriority#testApplicationPriority
AllocationWithChangeInPriority. (Sunil G via rohithsharmaks)
Release 2.7.3 - UNRELEASED Release 2.7.3 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -490,7 +490,6 @@ public class TestApplicationPriority {
RMApp app2 = rm.submitApp(1 * GB, appPriority2); RMApp app2 = rm.submitApp(1 * GB, appPriority2);
// kick the scheduler, 1 GB which was free is given to AM of App2 // kick the scheduler, 1 GB which was free is given to AM of App2
nm1.nodeHeartbeat(true);
MockAM am2 = MockRM.launchAM(app2, rm, nm1); MockAM am2 = MockRM.launchAM(app2, rm, nm1);
am2.registerAppAttempt(); am2.registerAppAttempt();