[
https://issues.apache.org/jira/browse/HDFS-15216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056184#comment-17056184
]
Stephen O'Donnell commented on HDFS-15216:
------------------------------------------
Hi [~Sushma_28] - thanks for raising this issue. I made the changes in
HDFS-7175 to deprecate the -showProgress switch as we were seeing a lot of
timeouts when progress was not enabled. I completely missed updating the help
text.
> Wrong Use Case of -showprogress in fsck
> ----------------------------------------
>
> Key: HDFS-15216
> URL: https://issues.apache.org/jira/browse/HDFS-15216
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.3.0
> Reporter: Ravuri Sushma sree
> Assignee: Ravuri Sushma sree
> Priority: Major
> Attachments: HDFS-15216.001.patch
>
>
> *-showprogress* is deprecated and Progress is now shown by default but fsck
> --help shows incorrect use case for the same
>
> Usage: hdfs fsck <path> [-list-corruptfileblocks | [-move | -delete |
> -openforwrite] [-files [-blocks [-locations | -racks | -replicaDetails |
> -upgradedomains]]]] [-includeSnapshots] [-showprogress] [-storagepolicies]
> [-maintenance] [-blockId <blk_Id>]
> <path> start checking from this path
> h4.
> -move move corrupted files to /lost+found
> -delete delete corrupted files
> -files print out files being checked
> -openforwrite print out files opened for write
> -includeSnapshots include snapshot data if the given path indicates a
> snapshottable directory or there are snapshottable directories under it
> -list-corruptfileblocks print out list of missing blocks and files they
> belong to
> -files -blocks print out block report
> -files -blocks -locations print out locations for every block
> -files -blocks -racks print out network topology for data-node locations
> -files -blocks -replicaDetails print out each replica details
> -files -blocks -upgradedomains print out upgrade domains for every block
> -storagepolicies print out storage policy summary for the blocks
> -maintenance print out maintenance state node details
> *-showprogress show progress in output. Default is OFF (no progress)*
> -blockId print out which file this blockId belongs to, locations (nodes,
> racks) of this block, and other diagnostics info (under replicated, corrupted
> or not, etc)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]