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

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

bq. Do you meant, DirectoryScanner should identify the blocks which are not in 
the expected directory path computed using its block ID and just do a log 
message without fixing it

correct

bq. As per the earlier discussion it need to fix. I was having an idea which is 
similar to the mechanism used in Datastorage, create hardlinks. Please correct 
me if I miss anything.

It's not the goal of DirectoryScanner to fix anything.  It should not modify 
the filesystem.

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