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

Tsz Wo Nicholas Sze commented on HDFS-10791:
--------------------------------------------

A related comment: Currently, BlockPoolSlice.addToReplicasMap(..) ignores files 
other than block files.  We should log a warning if an unidentified file found.

> Delete block meta file when the block file is missing
> -----------------------------------------------------
>
>                 Key: HDFS-10791
>                 URL: https://issues.apache.org/jira/browse/HDFS-10791
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Tsz Wo Nicholas Sze
>
> When the block file is missing, the block meta file should be deleted if it 
> exists.
> Note that such situation is possible since the meta file is closed before the 
> block file, the datanode could be killed in-between.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to