[
https://issues.apache.org/jira/browse/HDFS-4809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652941#comment-13652941
]
Hudson commented on HDFS-4809:
------------------------------
Integrated in Hadoop-Hdfs-Snapshots-Branch-build #178 (See
[https://builds.apache.org/job/Hadoop-Hdfs-Snapshots-Branch-build/178/])
HDFS-4809. When a QuotaExceededException is thrown during rename, the quota
usage should be subtracted back. Contributed by Jing Zhao (Revision 1480508)
Result = FAILURE
szetszwo :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1480508
Files :
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-2802.txt
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/INodeDirectoryWithSnapshot.java
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestRenameWithSnapshots.java
> Add more unit tests for the undo section of rename
> --------------------------------------------------
>
> Key: HDFS-4809
> URL: https://issues.apache.org/jira/browse/HDFS-4809
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Priority: Minor
> Fix For: Snapshot (HDFS-2802)
>
> Attachments: HDFS-4809.001.patch
>
>
> 1. Add more unit tests for the undo section of rename
> 2. Fix a bug in FSDirectory#addChild: if a QuotaExceededException is thrown
> in {code}parent.addChild(child, true, iip.getLatestSnapshot(),
> inodeMap);{code}
> we should change the quota usage back.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira