hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject git commit: HDFS-7156. Update fsck documentation. Contributed by Masahiro Yamaguch.
Date Sun, 28 Sep 2014 04:35:16 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 7fabec325 -> 347222198


HDFS-7156. Update fsck documentation. Contributed by Masahiro Yamaguch.

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

Branch: refs/heads/branch-2
Commit: 3472221989d8d40c02841d5d613e6eb8c34b2e4b
Parents: 7fabec3
Author: Konstantin V Shvachko <shv@apache.org>
Authored: Sat Sep 27 21:24:22 2014 -0700
Committer: Konstantin V Shvachko <shv@apache.org>
Committed: Sat Sep 27 21:26:38 2014 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt     |  2 +
 .../src/site/apt/HDFSCommands.apt.vm            | 51 ++++++++++++--------
 2 files changed, 32 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/34722219/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 92a1520..0257992 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -254,6 +254,8 @@ Release 2.6.0 - UNRELEASED
     HDFS-6956. Allow dynamically changing the tracing level in Hadoop servers
     (cmccabe)
 
+    HDFS-7156. Update fsck documentation. (Masahiro Yamaguch via shv)
+
   OPTIMIZATIONS
 
     HDFS-6690. Deduplicate xattr names in memory. (wang)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/34722219/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSCommands.apt.vm
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSCommands.apt.vm b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSCommands.apt.vm
index 76ea90d..1e73377 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSCommands.apt.vm
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSCommands.apt.vm
@@ -82,28 +82,37 @@ HDFS Commands Guide
    See {{{./HdfsUserGuide.html#fsck}fsck}} for more info.
 
    Usage: <<<hdfs fsck [GENERIC_OPTIONS] <path>
+          [-list-corruptfileblocks |
           [-move | -delete | -openforwrite]
-          [-files [-blocks [-locations | -racks]]]>>>
-
-*------------------+---------------------------------------------+
-||  COMMAND_OPTION || Description
-*------------------+---------------------------------------------+
-|   <path>         | Start checking from this path.
-*------------------+---------------------------------------------+
-|   -move          | Move corrupted files to /lost+found
-*------------------+---------------------------------------------+
-|   -delete        | Delete corrupted files.
-*------------------+---------------------------------------------+
-|   -openforwrite  | Print out files opened for write.
-*------------------+---------------------------------------------+
-|   -files         | Print out files being checked.
-*------------------+---------------------------------------------+
-|   -blocks        | Print out block report.
-*------------------+---------------------------------------------+
-|   -locations     | Print out locations for every block.
-*------------------+---------------------------------------------+
-|   -racks         | Print out network topology for data-node locations.
-*------------------+---------------------------------------------+
+          [-files [-blocks [-locations | -racks]]]]
+          [-includeSnapshots]>>>
+
+*------------------------+---------------------------------------------+
+||  COMMAND_OPTION       || Description
+*------------------------+---------------------------------------------+
+|   <path>               | Start checking from this path.
+*------------------------+---------------------------------------------+
+|   -move                | Move corrupted files to /lost+found
+*------------------------+---------------------------------------------+
+|   -delete              | Delete corrupted files.
+*------------------------+---------------------------------------------+
+|   -files               | Print out files being checked.
+*------------------------+---------------------------------------------+
+|   -openforwrite        | Print out files opened for write.
+*------------------------+---------------------------------------------+
+|                        | Include snapshot data if the given path
+| -includeSnapshots      | indicates a snapshottable directory or
+|                        | there are snapshottable directories under it.
+*------------------------+---------------------------------------------+
+| -list-corruptfileblocks| Print out list of missing blocks and
+|                        | files they belong to.
+*------------------------+---------------------------------------------+
+|   -blocks              | Print out block report.
+*------------------------+---------------------------------------------+
+|   -locations           | Print out locations for every block.
+*------------------------+---------------------------------------------+
+|   -racks               | Print out network topology for data-node locations.
+*------------------------+---------------------------------------------+
 
 * Administration Commands
 


Mime
View raw message