You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by wa...@apache.org on 2015/09/11 19:20:27 UTC

[06/42] hadoop git commit: MAPREDUCE-6442. Stack trace is missing when error occurs in client protocol provider's constructor Contributed by Chang Li.

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


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

Branch: refs/heads/YARN-1197
Commit: 9b685773ec1031e90cc2b8aedb42670721757e22
Parents: bcc85e3
Author: Tsuyoshi Ozawa <oz...@apache.org>
Authored: Sat Sep 5 11:21:03 2015 +0900
Committer: Tsuyoshi Ozawa <oz...@apache.org>
Committed: Sat Sep 5 11:21:03 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/9b685773/hadoop-mapreduce-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt
index 88cca41..5b5724b 100644
--- a/hadoop-mapreduce-project/CHANGES.txt
+++ b/hadoop-mapreduce-project/CHANGES.txt
@@ -584,6 +584,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/9b685773/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);
         }
       }
     }