YARN-4574. Fix random failure in TestAMRMClientOnRMRestart. (Takashi Ohnishi via rohithsharmaks)
(cherry picked from commit 34a3900773
)
This commit is contained in:
parent
b5db1d4410
commit
1cec12d95a
|
@ -88,6 +88,9 @@ Release 2.9.0 - UNRELEASED
|
||||||
YARN-4497. RM might fail to restart when recovering apps whose attempts are missing.
|
YARN-4497. RM might fail to restart when recovering apps whose attempts are missing.
|
||||||
(Jun Gong via rohithsharmaks)
|
(Jun Gong via rohithsharmaks)
|
||||||
|
|
||||||
|
YARN-4574. Fix random failure in TestAMRMClientOnRMRestart.
|
||||||
|
(Takashi Ohnishi via rohithsharmaks)
|
||||||
|
|
||||||
Release 2.8.0 - UNRELEASED
|
Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -219,6 +219,7 @@ public class TestAMRMClientOnRMRestart {
|
||||||
// request
|
// request
|
||||||
nm1.nodeHeartbeat(containerId.getApplicationAttemptId(),
|
nm1.nodeHeartbeat(containerId.getApplicationAttemptId(),
|
||||||
containerId.getContainerId(), ContainerState.RUNNING);
|
containerId.getContainerId(), ContainerState.RUNNING);
|
||||||
|
dispatcher.await();
|
||||||
amClient.requestContainerResourceChange(
|
amClient.requestContainerResourceChange(
|
||||||
container, Resource.newInstance(2048, 1));
|
container, Resource.newInstance(2048, 1));
|
||||||
it.remove();
|
it.remove();
|
||||||
|
|
Loading…
Reference in New Issue