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

Lei (Eddy) Xu commented on HDFS-7106:
-------------------------------------

Hi, [~cnauroth] 

Just one more small suggestion, could your patch catch {{IOException}} for 
{{sd.unlock()}} and continues to unlock the following SDs? So that It will 
leave less storage directories locked in the end. 

> Reconfiguring DataNode volumes does not release the lock files in removed 
> volumes.
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-7106
>                 URL: https://issues.apache.org/jira/browse/HDFS-7106
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HDFS-7106.1.patch, HDFS-7106.2.patch
>
>
> After reconfiguring a DataNode to remove volumes without restarting the 
> DataNode, the process still holds lock files exclusively in all of the 
> volumes that were removed.



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

Reply via email to