hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oz...@apache.org
Subject hadoop git commit: MAPREDUCE-6442. Stack trace is missing when error occurs in client protocol provider's constructor Contributed by Chang Li.
Date Sat, 05 Sep 2015 02:27:24 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 9f97b8681 -> 8bf536201


MAPREDUCE-6442. Stack trace is missing when error occurs in client protocol provider's constructor
Contributed by Chang Li.

(cherry picked from commit 9b685773ec1031e90cc2b8aedb42670721757e22)


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

Branch: refs/heads/branch-2
Commit: 8bf536201400aaee1970428c87a117150308536f
Parents: 9f97b86
Author: Tsuyoshi Ozawa <ozawa@apache.org>
Authored: Sat Sep 5 11:21:03 2015 +0900
Committer: Tsuyoshi Ozawa <ozawa@apache.org>
Committed: Sat Sep 5 11:21:35 2015 +0900

----------------------------------------------------------------------
 hadoop-mapreduce-project/CHANGES.txt                              | 3 +++
 .../src/main/java/org/apache/hadoop/mapreduce/Cluster.java        | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8bf53620/hadoop-mapreduce-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt
index 3daa740..76b54ca 100644
--- a/hadoop-mapreduce-project/CHANGES.txt
+++ b/hadoop-mapreduce-project/CHANGES.txt
@@ -315,6 +315,9 @@ Release 2.7.2 - UNRELEASED
     MAPREDUCE-6439. AM may fail instead of retrying if RM shuts down during the
     allocate call. (Anubhav Dhoot via kasha)
 
+    MAPREDUCE-6442. Stack trace is missing when error occurs in client protocol
+    provider's constructor (Chang Li via ozawa)
+
 Release 2.7.1 - 2015-07-06 
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/8bf53620/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 34353ac..fc228e6 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
@@ -111,7 +111,7 @@ public class Cluster {
         } 
         catch (Exception e) {
           LOG.info("Failed to use " + provider.getClass().getName()
-              + " due to error: " + e.getMessage());
+              + " due to error: ", e);
         }
       }
     }


Mime
View raw message