YARN-8844. TestNMProxy unit test is failing. (Eric Yang via wangda)

Change-Id: I241fa8701b6f1dbcad87fd2e9a429e32e7aa40f5
(cherry picked from commit b3ac886933)
This commit is contained in:
Wangda Tan 2018-10-04 10:48:47 -07:00
parent 6926fd0ec6
commit 2e9913caf2
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ public class TestNMProxy extends BaseContainerManagerTest {
IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_KEY, 100); IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_KEY, 100);
// connect to some dummy address so that it can trigger // connect to some dummy address so that it can trigger
// connection failure and RPC level retires. // connection failure and RPC level retires.
newConf.set(YarnConfiguration.NM_ADDRESS, "1234"); newConf.set(YarnConfiguration.NM_ADDRESS, "0.0.0.0:1234");
ContainerManagementProtocol proxy = getNMProxy(newConf); ContainerManagementProtocol proxy = getNMProxy(newConf);
try { try {
proxy.startContainers(allRequests); proxy.startContainers(allRequests);