MAPREDUCE-4262. NM gives wrong log message saying Connected to ResourceManager before trying to connect. (Devaraj K via tgraves)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1341972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Graves 2012-05-23 18:37:37 +00:00
parent ade42bce10
commit 432c4a6ffc
2 changed files with 4 additions and 1 deletions

View File

@ -133,6 +133,9 @@ Release 2.0.1-alpha - UNRELEASED
MAPREDUCE-4274 MapOutputBuffer should use native byte order for kvmeta. MAPREDUCE-4274 MapOutputBuffer should use native byte order for kvmeta.
(todd via bobby) (todd via bobby)
MAPREDUCE-4262. NM gives wrong log message saying "Connected to
ResourceManager" before trying to connect. (Devaraj K via tgraves)
Release 2.0.0-alpha - UNRELEASED Release 2.0.0-alpha - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -181,7 +181,7 @@ public class NodeStatusUpdaterImpl extends AbstractService implements
private void registerWithRM() throws YarnRemoteException { private void registerWithRM() throws YarnRemoteException {
this.resourceTracker = getRMClient(); this.resourceTracker = getRMClient();
LOG.info("Connected to ResourceManager at " + this.rmAddress); LOG.info("Connecting to ResourceManager at " + this.rmAddress);
RegisterNodeManagerRequest request = recordFactory.newRecordInstance(RegisterNodeManagerRequest.class); RegisterNodeManagerRequest request = recordFactory.newRecordInstance(RegisterNodeManagerRequest.class);
request.setHttpPort(this.httpPort); request.setHttpPort(this.httpPort);