MAPREDUCE-3391. Making a trivial change to correct a log message in DistributedShell app's AM. Contributed by Subroto Sanyal.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1221516 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
96247ead03
commit
4e1d5a0d71
@ -161,6 +161,9 @@ Release 0.23.1 - Unreleased
|
|||||||
MAPREDUCE-3518. mapred queue -info <queue> -showJobs throws NPE.
|
MAPREDUCE-3518. mapred queue -info <queue> -showJobs throws NPE.
|
||||||
(Jonathan Eagles via mahadev)
|
(Jonathan Eagles via mahadev)
|
||||||
|
|
||||||
|
MAPREDUCE-3391. Making a trivial change to correct a log message in
|
||||||
|
DistributedShell app's AM. (Subroto Sanyal via vinodkv)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
@ -610,10 +610,11 @@ public LaunchContainerRunnable(Container lcontainer) {
|
|||||||
* Helper function to connect to CM
|
* Helper function to connect to CM
|
||||||
*/
|
*/
|
||||||
private void connectToCM() {
|
private void connectToCM() {
|
||||||
|
LOG.debug("Connecting to ContainerManager for containerid=" + container.getId());
|
||||||
String cmIpPortStr = container.getNodeId().getHost() + ":"
|
String cmIpPortStr = container.getNodeId().getHost() + ":"
|
||||||
+ container.getNodeId().getPort();
|
+ container.getNodeId().getPort();
|
||||||
InetSocketAddress cmAddress = NetUtils.createSocketAddr(cmIpPortStr);
|
InetSocketAddress cmAddress = NetUtils.createSocketAddr(cmIpPortStr);
|
||||||
LOG.info("Connecting to ResourceManager at " + cmIpPortStr);
|
LOG.info("Connecting to ContainerManager at " + cmIpPortStr);
|
||||||
this.cm = ((ContainerManager) rpc.getProxy(ContainerManager.class, cmAddress, conf));
|
this.cm = ((ContainerManager) rpc.getProxy(ContainerManager.class, cmAddress, conf));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -626,7 +627,6 @@ private void connectToCM() {
|
|||||||
*/
|
*/
|
||||||
public void run() {
|
public void run() {
|
||||||
// Connect to ContainerManager
|
// Connect to ContainerManager
|
||||||
LOG.info("Connecting to container manager for containerid=" + container.getId());
|
|
||||||
connectToCM();
|
connectToCM();
|
||||||
|
|
||||||
LOG.info("Setting up container launch container for containerid=" + container.getId());
|
LOG.info("Setting up container launch container for containerid=" + container.getId());
|
||||||
|
Loading…
Reference in New Issue
Block a user