[ 
https://issues.apache.org/jira/browse/HDFS-15130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018047#comment-17018047
 ] 

Ayush Saxena edited comment on HDFS-15130 at 1/17/20 2:00 PM:
--------------------------------------------------------------

There is an ENUM for excess, but none for under replicated.
That has to be mathematically calculated only, that doesn’t make sense. There 
won’t be any use case to do so,
For the excess, you may track the JIRA where it was added. It is there for 
excess but not for under replicated, such assertions don’t make sense


was (Author: ayushtkn):
There is an ENUM for excess, but none for under replicated.
That has to be mathematically calculated only, that doesn’t make sense. There 
won’t be any use case to do so,
For the excess, you may track the JIRA where it was added.

> HDFS:fsck "-blockId" has no option to display number of replicas for under 
> replicated blocks
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-15130
>                 URL: https://issues.apache.org/jira/browse/HDFS-15130
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs, tools
>    Affects Versions: 3.1.1
>         Environment: 3 node HA cluster
>            Reporter: Souryakanta Dwivedy
>            Priority: Minor
>         Attachments: image-2020-01-17-14-51-14-474.png, 
> image-2020-01-17-14-53-06-032.png, image-2020-01-17-14-53-42-466.png
>
>
> HDFS fsck "-blockId" has no option to display number of replicas for under 
> replicated blocks
>  * hdfs fsck "-blockId" has option to display number of excess replica for 
> over replicated blocks,
>  *  hdfs fsck "-blockId" has option to display number of excess replica for 
> over replicated blocks,    but don't have any option to display number of 
> replica for under replicated blocks.  
>  *  In usage info it is specified as   
>  *  -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)
>         
> !image-2020-01-17-14-51-14-474.png!
> !image-2020-01-17-14-53-42-466.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]

Reply via email to