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

Colin Patrick McCabe commented on HDFS-7648:
--------------------------------------------

I agree with Nicholas that we should implement this in the DirectoryScanner.  
Probably what we want to do is log a warning about files that are in locations 
they do not belong in.  I do not think we should to implement this in the 
layout version upgrade code, since that only gets run once.  The fact that 
hardlinking is done in parallel in the upgrade code should not be relevant for 
implementing this.

> 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
>
> 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