hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jia...@apache.org
Subject hadoop git commit: YARN-4402. TestNodeManagerShutdown And TestNodeManagerResync fails with bind exception. Contributed by Brahma Reddy Battula
Date Mon, 14 Dec 2015 23:06:22 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 16f7ac48d -> bc7603e39


YARN-4402. TestNodeManagerShutdown And TestNodeManagerResync fails with bind exception. Contributed
by Brahma Reddy Battula


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/bc7603e3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/bc7603e3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/bc7603e3

Branch: refs/heads/branch-2.8
Commit: bc7603e3934de1c62ee098dd1c72b2cf0c58175c
Parents: 16f7ac4
Author: Jian He <jianhe@apache.org>
Authored: Mon Dec 14 14:54:42 2015 -0800
Committer: Jian He <jianhe@apache.org>
Committed: Mon Dec 14 15:06:13 2015 -0800

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                   | 3 +++
 .../hadoop/yarn/server/nodemanager/TestNodeManagerResync.java     | 3 +++
 .../hadoop/yarn/server/nodemanager/TestNodeManagerShutdown.java   | 3 +++
 3 files changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/bc7603e3/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index 890cdab..5a6d3e4 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -1043,6 +1043,9 @@ Release 2.8.0 - UNRELEASED
     YARN-4403. (AM/NM/Container)LivelinessMonitor should use monotonic time
     when calculating period. (Junping Du via jianhe)
 
+    YARN-4402. TestNodeManagerShutdown And TestNodeManagerResync fails with
+    bind exception. (Brahma Reddy Battula via jianhe)
+
 Release 2.7.3 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/bc7603e3/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerResync.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerResync.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerResync.java
index 1a0412a..e8c4634 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerResync.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerResync.java
@@ -389,6 +389,9 @@ public class TestNodeManagerResync {
     conf.set(YarnConfiguration.NM_ADDRESS, "127.0.0.1:" + port);
     conf.set(YarnConfiguration.NM_LOCALIZER_ADDRESS, "127.0.0.1:"
         + ServerSocketUtil.getPort(49155, 10));
+    conf.set(YarnConfiguration.NM_WEBAPP_ADDRESS,
+        "127.0.0.1:" + ServerSocketUtil
+            .getPort(YarnConfiguration.DEFAULT_NM_WEBAPP_PORT, 10));
     conf.set(YarnConfiguration.NM_LOG_DIRS, logsDir.getAbsolutePath());
     conf.set(YarnConfiguration.NM_REMOTE_APP_LOG_DIR,
       remoteLogsDir.getAbsolutePath());

http://git-wip-us.apache.org/repos/asf/hadoop/blob/bc7603e3/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerShutdown.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerShutdown.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerShutdown.java
index 1fa5fbb..980c764 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerShutdown.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeManagerShutdown.java
@@ -272,6 +272,9 @@ public class TestNodeManagerShutdown {
     conf.set(YarnConfiguration.NM_ADDRESS, "127.0.0.1:" + port);
     conf.set(YarnConfiguration.NM_LOCALIZER_ADDRESS, "127.0.0.1:"
         + ServerSocketUtil.getPort(49158, 10));
+    conf.set(YarnConfiguration.NM_WEBAPP_ADDRESS,
+        "127.0.0.1:" + ServerSocketUtil
+            .getPort(YarnConfiguration.DEFAULT_NM_WEBAPP_PORT, 10));
     conf.set(YarnConfiguration.NM_LOG_DIRS, logsDir.getAbsolutePath());
     conf.set(YarnConfiguration.NM_REMOTE_APP_LOG_DIR, remoteLogsDir.getAbsolutePath());
     conf.set(YarnConfiguration.NM_LOCAL_DIRS, nmLocalDir.getAbsolutePath());


Mime
View raw message