From fc5a433adb2241e9173c74b366d0d66f5cec33eb Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Sat, 24 Oct 2015 12:54:48 +0100 Subject: [PATCH] YARN-4296. DistributedShell Log.info is not friendly. (Xiaowei Wang via stevel) --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../hadoop/yarn/applications/distributedshell/Client.java | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 62c9af3cacc..3b3c06608de 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -482,6 +482,9 @@ Release 2.8.0 - UNRELEASED YARN-2913. Fair scheduler should have ability to set MaxResourceDefault for each queue. (Siqi Li via mingma) + YARN-4296. DistributedShell Log.info is not friendly. + (Xiaowei Wang via stevel) + OPTIMIZATIONS YARN-3339. TestDockerContainerExecutor should pull a single image and not diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java index 5a90880ee85..68d2bde5165 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java @@ -453,9 +453,9 @@ public class Client { for (NodeReport node : clusterNodeReports) { LOG.info("Got node report from ASM for" + ", nodeId=" + node.getNodeId() - + ", nodeAddress" + node.getHttpAddress() - + ", nodeRackName" + node.getRackName() - + ", nodeNumContainers" + node.getNumContainers()); + + ", nodeAddress=" + node.getHttpAddress() + + ", nodeRackName=" + node.getRackName() + + ", nodeNumContainers=" + node.getNumContainers()); } QueueInfo queueInfo = yarnClient.getQueueInfo(this.amQueue);