[ 
https://issues.apache.org/jira/browse/HADOOP-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473164
 ] 

dhruba borthakur commented on HADOOP-943:
-----------------------------------------

In the current implementation, underReplicatedBlocks is actually the distance 
of all blocks from their target replication factor. For example, if there were 
two blocks whose target replication factor was 3 and each of those blocks had 
one replica, then fsck will display underReplicatedBlocks as 4.

My change will display underReplicatedBlocks as 2 in the above case.

> fsck to show the filename of the corrupted file
> -----------------------------------------------
>
>                 Key: HADOOP-943
>                 URL: https://issues.apache.org/jira/browse/HADOOP-943
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Koji Noguchi
>            Priority: Trivial
>
> When fsck / shows some corrupted file/block information, 
> *******************************
> CORRUPT FILES:  1
> MISSING BLOCKS: 1
> MISSING SIZE:   ___ B
> ********************************
> it doesn't show the filename.  
> I can run fsck /  -files  again, but this would take a lot longer than the 
> plain fsck. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to