[ https://issues.apache.org/jira/browse/HDFS-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764099#action_12764099 ]
Suresh Srinivas commented on HDFS-677: -------------------------------------- adding the node back is similar operation that is not expected to fail (just like swap in the above case needs to be). BTW any failure such as OOM or NN crash etc. will result in client receiving failure and this operation is not recorded in edits log. When NN restarts, src would still be in the namespace as expected. > Rename failure due to quota results in deletion of src directory > ---------------------------------------------------------------- > > Key: HDFS-677 > URL: https://issues.apache.org/jira/browse/HDFS-677 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.20.1, 0.20.2, 0.21.0, 0.22.0 > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Priority: Blocker > Fix For: 0.20.2, 0.21.0, 0.22.0 > > Attachments: hdfs-677.8.patch > > > Renaming src to destination where src has exceeded the quota to a dst without > sufficent quota fails. During this failure, src is deleted. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.