[
https://issues.apache.org/jira/browse/HDFS-8108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14513795#comment-14513795
]
J.Andreina commented on HDFS-8108:
----------------------------------
This issue is for updating the usage description of fsck . So no need of
testcase
> Fsck should provide the info on mandatory option to be used along with
> "-blocks , -locations and -racks"
> --------------------------------------------------------------------------------------------------------
>
> Key: HDFS-8108
> URL: https://issues.apache.org/jira/browse/HDFS-8108
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: J.Andreina
> Assignee: J.Andreina
> Priority: Trivial
> Attachments: HDFS-8108.1.patch, HDFS-8108.2.patch
>
>
> Fsck usage information should provide the information on which options are
> mandatory to be passed along with "-blocks , -locations and -racks" to be in
> sync with documentation.
> For example :
> To get information on:
> 1. Blocks (-blocks), option "-files" should also be used.
> 2. Rack information (-racks), option "-files" and "-blocks" should also be
> used.
> {noformat}
> ./hdfs fsck -files -blocks
> ./hdfs fsck -files -blocks -racks
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)