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

Rakesh R commented on HDFS-7648:
--------------------------------

[~szetszwo]Nicholas
bq.I am fine even if we do it in two JIRAs.
+1 for this approach.

bq.except I do not think we should be creating a giant list of all the blocks 
that are mismatched
Thats good point. How about having a list of fixed size, say 100. While 
verification if {{mismatchFiles}} list reaches this limit, will print all the 
blocks and make it empty. ok?. I'd like to avoid too many logs which may noise. 

> Verify the datanode directory layout
> ------------------------------------
>
>                 Key: HDFS-7648
>                 URL: https://issues.apache.org/jira/browse/HDFS-7648
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Rakesh R
>         Attachments: HDFS-7648.patch
>
>
> HDFS-6482 changed datanode layout to use block ID to determine the directory 
> to store the block.  We should have some mechanism to verify it.  Either 
> DirectoryScanner or block report generation could do the check.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to