[
https://issues.apache.org/jira/browse/HDFS-14972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16970854#comment-16970854
]
Fei Hui commented on HDFS-14972:
--------------------------------
[~SouryakantaDwivedy]
Thanks for reporting this
Could you please test as bellow
{code}
hdfs fsck /test3/file3 -files -blocks -locations
{code}
Can not be sure that /test3/file3(your test block belongs to) is corrupt from
your output.
> HDFS: fsck "-blockId" option not giving expected output
> -------------------------------------------------------
>
> Key: HDFS-14972
> URL: https://issues.apache.org/jira/browse/HDFS-14972
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: tools
> Affects Versions: 3.1.2
> Environment: HA Cluster
> Reporter: Souryakanta Dwivedy
> Priority: Major
> Attachments: image-2019-11-08-19-10-18-057.png,
> image-2019-11-08-19-12-21-307.png
>
>
> HDFS: fsck "-blockId" option not giving expected output
> HDFS fsck displaying correct output for corrupted files and blocks
> !image-2019-11-08-19-10-18-057.png!
>
>
> HDFS fsck -blockId command not giving expected output for corrupted replica
>
> !image-2019-11-08-19-12-21-307.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]