hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From varunsax...@apache.org
Subject hadoop git commit: MAPREDUCE-6748. Enhance logging for Cluster.java around InetSocketAddress (Vrushali C via Varun Saxena)
Date Mon, 08 Aug 2016 16:24:25 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 ab130f97c -> 8b09292f4


MAPREDUCE-6748. Enhance logging for Cluster.java around InetSocketAddress (Vrushali C via
Varun Saxena)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8b09292f
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8b09292f
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8b09292f

Branch: refs/heads/branch-2
Commit: 8b09292f4f307544e7a8f47cd45f26c37d8b8f5a
Parents: ab130f9
Author: Varun Saxena <varunsaxena@apache.org>
Authored: Mon Aug 8 21:53:29 2016 +0530
Committer: Varun Saxena <varunsaxena@apache.org>
Committed: Mon Aug 8 21:53:29 2016 +0530

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/mapreduce/Cluster.java       | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8b09292f/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Cluster.java
----------------------------------------------------------------------
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Cluster.java
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Cluster.java
index 6ca918d..dcce2aa 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Cluster.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Cluster.java
@@ -106,6 +106,10 @@ public class Cluster {
         "Cannot initialize Cluster. Please check your configuration for "
             + MRConfig.FRAMEWORK_NAME
             + " and the correspond server addresses.");
+    if (jobTrackAddr != null) {
+      LOG.info(
+          "Initializing cluster for Job Tracker=" + jobTrackAddr.toString());
+    }
     for (ClientProtocolProvider provider : providerList) {
       LOG.debug("Trying ClientProtocolProvider : "
           + provider.getClass().getName());


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message