From 2e9913caf2a0ba24c323c26dd978492bd398f2e5 Mon Sep 17 00:00:00 2001 From: Wangda Tan Date: Thu, 4 Oct 2018 10:48:47 -0700 Subject: [PATCH] YARN-8844. TestNMProxy unit test is failing. (Eric Yang via wangda) Change-Id: I241fa8701b6f1dbcad87fd2e9a429e32e7aa40f5 (cherry picked from commit b3ac8869338faeabedbc27e95e3166c830a9a761) --- .../yarn/server/nodemanager/containermanager/TestNMProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/TestNMProxy.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/TestNMProxy.java index e6a7a02e462..5f023f02df1 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/TestNMProxy.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/TestNMProxy.java @@ -161,7 +161,7 @@ public class TestNMProxy extends BaseContainerManagerTest { IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_KEY, 100); // connect to some dummy address so that it can trigger // 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); try { proxy.startContainers(allRequests);