MAPREDUCE-3070. Fix NodeManager to use ephemeral ports by default. Contributed by Devaraj K.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1187496 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Murthy 2011-10-21 18:47:39 +00:00
parent 45b2bce871
commit 89e7ca6a52
3 changed files with 5 additions and 2 deletions

View File

@ -1720,6 +1720,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-3226. Fix shutdown of fetcher threads. (vinodkv via acmurthy) MAPREDUCE-3226. Fix shutdown of fetcher threads. (vinodkv via acmurthy)
MAPREDUCE-3070. Fix NodeManager to use ephemeral ports by default.
(Devaraj K via acmurthy)
Release 0.22.0 - Unreleased Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -218,7 +218,7 @@ public class YarnConfiguration extends Configuration {
/** address of node manager IPC.*/ /** address of node manager IPC.*/
public static final String NM_ADDRESS = NM_PREFIX + "address"; public static final String NM_ADDRESS = NM_PREFIX + "address";
public static final String DEFAULT_NM_ADDRESS = "0.0.0.0:45454"; public static final String DEFAULT_NM_ADDRESS = "0.0.0.0:0";
/** who will execute(launch) the containers.*/ /** who will execute(launch) the containers.*/
public static final String NM_CONTAINER_EXECUTOR = public static final String NM_CONTAINER_EXECUTOR =

View File

@ -191,7 +191,7 @@
<property> <property>
<description>address of node manager IPC.</description> <description>address of node manager IPC.</description>
<name>yarn.nodemanager.address</name> <name>yarn.nodemanager.address</name>
<value>0.0.0.0:45454</value> <value>0.0.0.0:0</value>
</property> </property>
<property> <property>