hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umamah...@apache.org
Subject hadoop git commit: HDFS-8108. Fsck should provide the info on mandatory option to be used along with -blocks , -locations and -racks. Contributed by J.Andreina.
Date Fri, 08 May 2015 08:31:37 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk f26700f28 -> 4b00ae5c1


HDFS-8108. Fsck should provide the info on mandatory option to be used along with -blocks
,-locations and -racks. Contributed by J.Andreina.


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

Branch: refs/heads/trunk
Commit: 4b00ae5c113a9a8bd2a300f6d88897b932eeb94f
Parents: f26700f
Author: Uma Maheswara Rao G <umamahesh@apache.org>
Authored: Fri May 8 14:00:45 2015 +0530
Committer: Uma Maheswara Rao G <umamahesh@apache.org>
Committed: Fri May 8 14:00:45 2015 +0530

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4b00ae5c/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 60c96d8..80f579a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -672,6 +672,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-8222. Remove usage of "dfsadmin -upgradeProgress" from document which
     is no longer supported. (J.Andreina via aajisaka)
 
+    HDFS-8108. Fsck should provide the info on mandatory option to be used along with "-blocks
,
+    -locations and -racks" (J.Andreina via umamahesh)
+
 Release 2.7.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/4b00ae5c/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 9926628..67386ac 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
@@ -90,9 +90,10 @@ public class DFSck extends Configured implements Tool {
       + "snapshottable directories under it\n"
       + "\t-list-corruptfileblocks\tprint out list of missing "
       + "blocks and files they belong to\n"
-      + "\t-blocks\tprint out block report\n"
-      + "\t-locations\tprint out locations for every block\n"
-      + "\t-racks\tprint out network topology for data-node locations\n"
+      + "\t-files -blocks\tprint out block report\n"
+      + "\t-files -blocks -locations\tprint out locations for every block\n"
+      + "\t-files -blocks -racks" 
+      + "\tprint out network topology for data-node locations\n"
       + "\t-storagepolicies\tprint out storage policy summary for the blocks\n"
       + "\t-showprogress\tshow progress in output. Default is OFF (no progress)\n"
       + "\t-blockId\tprint out which file this blockId belongs to, locations"


Mime
View raw message