MAPREDUCE-3062. Fixed default RMAdmin address. Contributed by Chris Riccomini.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1173838 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Murthy 2011-09-21 20:37:08 +00:00
parent d00b3c49f6
commit 32f28e6994
2 changed files with 4 additions and 1 deletions

View File

@ -1390,6 +1390,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-2970. Fixed NPEs in corner cases with different configurations MAPREDUCE-2970. Fixed NPEs in corner cases with different configurations
for mapreduce.framework.name. (Venu Gopala Rao via vinodkv) for mapreduce.framework.name. (Venu Gopala Rao via vinodkv)
MAPREDUCE-3062. Fixed default RMAdmin address. (Chris Riccomini
via acmurthy)
Release 0.22.0 - Unreleased Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -84,7 +84,7 @@ public void init(Configuration conf) {
super.init(conf); super.init(conf);
String bindAddress = String bindAddress =
conf.get(YarnConfiguration.RM_ADMIN_ADDRESS, conf.get(YarnConfiguration.RM_ADMIN_ADDRESS,
YarnConfiguration.RM_ADMIN_ADDRESS); YarnConfiguration.DEFAULT_RM_ADMIN_ADDRESS);
masterServiceAddress = NetUtils.createSocketAddr(bindAddress); masterServiceAddress = NetUtils.createSocketAddr(bindAddress);
adminAcl = adminAcl =
new AccessControlList( new AccessControlList(