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

This commit is contained in:
Uma Maheswara Rao G 2015-05-08 14:00:45 +05:30
parent f26700f287
commit 4b00ae5c11
2 changed files with 7 additions and 3 deletions

View File

@ -672,6 +672,9 @@ Release 2.8.0 - UNRELEASED
HDFS-8222. Remove usage of "dfsadmin -upgradeProgress" from document which HDFS-8222. Remove usage of "dfsadmin -upgradeProgress" from document which
is no longer supported. (J.Andreina via aajisaka) 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 Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

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