hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vinayakum...@apache.org
Subject [41/43] git commit: HDFS-7329. Improve logging when MiniDFSCluster fails to start. Contributed by Byron Wong.
Date Thu, 06 Nov 2014 08:04:52 GMT
HDFS-7329. Improve logging when MiniDFSCluster fails to start. Contributed by Byron Wong.


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

Branch: refs/heads/HDFS-EC
Commit: 228afed14c4b274e63002540d36b85c99eeddee8
Parents: b0b52c4
Author: Byron Wong <byron.wong@wandisco.com>
Authored: Wed Nov 5 20:56:21 2014 -0800
Committer: Konstantin V Shvachko <shv@apache.org>
Committed: Wed Nov 5 20:56:21 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/228afed1/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 59f6d92..d03074b 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -344,6 +344,9 @@ Release 2.7.0 - UNRELEASED
     HDFS-7361. TestCheckpoint fails after change of log message related to
     locking violation. (shv)
 
+    HDFS-7329. Improve logging when MiniDFSCluster fails to start.
+    (Byron Wong via shv)
+
   OPTIMIZATIONS
 
   BUG FIXES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/228afed1/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
index 178b369..e3c6fc5 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
@@ -807,7 +807,7 @@ public class MiniDFSCluster {
             format, startOpt, clusterId, conf);
       } catch (IOException ioe) {
         LOG.error("IOE creating namenodes. Permissions dump:\n" +
-            createPermissionsDiagnosisString(data_dir));
+            createPermissionsDiagnosisString(data_dir), ioe);
         throw ioe;
       }
       if (format) {


Mime
View raw message