[ https://issues.apache.org/jira/browse/HDFS-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14357967#comment-14357967 ]
Akira AJISAKA commented on HDFS-7830: ------------------------------------- Committed to branch-2.7 also. Hi [~cmccabe], if you didn't commit this to branch-2.7 intentionally, please feel free to revert it and bump up the fix version. > DataNode does not release the volume lock when adding a volume fails. > --------------------------------------------------------------------- > > Key: HDFS-7830 > URL: https://issues.apache.org/jira/browse/HDFS-7830 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Affects Versions: 2.6.0 > Reporter: Lei (Eddy) Xu > Assignee: Lei (Eddy) Xu > Fix For: 2.7.0 > > Attachments: HDFS-7830.000.patch, HDFS-7830.001.patch, > HDFS-7830.002.patch, HDFS-7830.003.patch, HDFS-7830.004.patch > > > When there is a failure in adding volume process, the {{in_use.lock}} is not > released. Also, doing another {{-reconfig}} to remove the new dir in order to > cleanup doesn't remove the lock. lsof still shows datanode holding on to the > lock file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)