hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ji...@apache.org
Subject [43/50] hadoop git commit: HDFS-9284. fsck command should not print exception trace when file not found. Contributed by Jagadesh Kiran N.
Date Tue, 27 Oct 2015 21:47:54 GMT
HDFS-9284. fsck command should not print exception trace when file not found. Contributed by
Jagadesh Kiran N.


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

Branch: refs/heads/HDFS-8966
Commit: 677a936bf759515ac94d9accb9bf5364f688d051
Parents: a01a209
Author: Andrew Wang <wang@apache.org>
Authored: Mon Oct 26 15:15:03 2015 -0700
Committer: Andrew Wang <wang@apache.org>
Committed: Mon Oct 26 15:15:03 2015 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 3 +++
 .../src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java         | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/677a936b/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 3b10893..397cb19 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -1573,6 +1573,9 @@ Release 2.8.0 - UNRELEASED
     BlockInfoUnderConstruction#setGenerationStampAndVerifyReplicas.
     (Wei-Chiu Chuang via Yongjun Zhang)
 
+    HDFS-9284. fsck command should not print exception trace when file not
+    found. (Jagadesh Kiran N via wang)
+
   OPTIMIZATIONS
 
     HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

http://git-wip-us.apache.org/repos/asf/hadoop/blob/677a936b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
index 6bb6603..ab689ff 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
@@ -41,7 +41,6 @@ import org.apache.hadoop.hdfs.server.namenode.NamenodeFsck;
 import org.apache.hadoop.hdfs.web.URLConnectionFactory;
 import org.apache.hadoop.security.UserGroupInformation;
 import org.apache.hadoop.security.authentication.client.AuthenticationException;
-import org.apache.hadoop.util.StringUtils;
 import org.apache.hadoop.util.Tool;
 import org.apache.hadoop.util.ToolRunner;
 
@@ -317,7 +316,7 @@ public class DFSck extends Configured implements Tool {
       namenodeAddress = getCurrentNamenodeAddress(dirpath);
     } catch (IOException ioe) {
       System.err.println("FileSystem is inaccessible due to:\n"
-          + StringUtils.stringifyException(ioe));
+          + ioe.toString());
     }
 
     if (namenodeAddress == null) {


Mime
View raw message