[jira] [Updated] (HDFS-15222) Correct the "hdfs fsck -list-corruptfileblocks" command output

2021-04-01 Thread Brahma Reddy Battula (Jira)


 [ 
https://issues.apache.org/jira/browse/HDFS-15222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brahma Reddy Battula updated HDFS-15222:

Fix Version/s: 3.4.0
 Hadoop Flags: Reviewed
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

Committed to trunk. [~Sushma_28] thanks for contribution and 
[~SouryakantaDwivedy] thanks for reporting.

>  Correct the "hdfs fsck -list-corruptfileblocks" command output
> ---
>
> 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
> Fix For: 3.4.0
>
> Attachments: HDFS-15222.001.patch, HDFS-15222.002.patch, 
> HDFS-15222.003.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



[jira] [Updated] (HDFS-15222) Correct the "hdfs fsck -list-corruptfileblocks" command output

2021-04-01 Thread Brahma Reddy Battula (Jira)


 [ 
https://issues.apache.org/jira/browse/HDFS-15222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brahma Reddy Battula updated HDFS-15222:

Summary:  Correct the "hdfs fsck -list-corruptfileblocks" command output  
(was: HDFS: Output message of ""hdfs fsck -list-corruptfileblocks" command is 
not correct)

>  Correct the "hdfs fsck -list-corruptfileblocks" command output
> ---
>
> 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, 
> HDFS-15222.003.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