[
https://issues.apache.org/jira/browse/HDFS-15222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17283251#comment-17283251
]
Brahma Reddy Battula edited comment on HDFS-15222 at 2/11/21, 6:00 PM:
---
[~Sushma_28] thanks for reporting.. It's make sense to me.. The patch LGTM, let
jenkins run on latest code. This might go only in trunk, as this change the
output of the command and some test scripts might fail as they might validate
the output.
was (Author: brahmareddy):
[~Sushma_28] thanks for reporting.. It's make sense me.. The patch LGTM, let
jenkins run on latest code. this might go only in trunk, as this change the
output of the command some test scripts might file if they validate the output.
> HDFS: Output message of ""hdfs fsck -list-corruptfileblocks" command is not
> correct
> ---
>
> Key: HDFS-15222
> URL: https://issues.apache.org/jira/browse/HDFS-15222
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs, tools
>Affects Versions: 3.1.1
> Environment: 3 node HA cluster
>Reporter: Souryakanta Dwivedy
>Assignee: Ravuri Sushma sree
>Priority: Minor
> Attachments: HDFS-15222.001.patch, HDFS-15222.002.patch, output1.PNG,
> output2.PNG
>
>
> Output message of ""hdfs fsck -list-corruptfileblocks" command is not correct
>
> Steps :-Steps :-
> * Create a directory and put files -
> * Corrupt the file blocks
> * check the corrupted file blocks with "hdfs fsck -list-corruptfileblocks"
> command
> It will display corrupted file blocks with message as "The list of corrupt
> files under path '/path' are:" at the beginning which is wrong.
> And at the end of output also the wrong message will display as "The
> filesystem under path '/path' has CORRUPT files"
>
> Actual output : "The list of corrupt files under path '/path' are:"
> "The filesystem under path '/path' has
> CORRUPT files"
> Expected output : "The list of corrupted file blocks under path '/path' are:"
> "The filesystem under path '/path' has
> CORRUPT file blocks"
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org