Author: cdouglas
Date: Sat Oct 17 00:14:24 2009
New Revision: 826136
URL: http://svn.apache.org/viewvc?rev=826136&view=rev
Log:
HDFS-579. Fix DfsTask to follow the semantics of 0.19, regarding non-zero
return values as failures. Contributed by Christian Kunz
Modified:
hadoop/hdfs/trunk/CHANGES.txt
hadoop/hdfs/trunk/src/ant/org/apache/hadoop/ant/condition/DfsBaseConditional.java
Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=826136&r1=826135&r2=826136&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Sat Oct 17 00:14:24 2009
@@ -421,6 +421,15 @@
HDFS-686. NullPointerException is thrown while merging edit log and image.
(hairong)
+ HDFS-677. Rename failure when both source and destination quota exceeds
+ results in deletion of source. (suresh)
+
+ HDFS-709. Fix TestDFSShell failure due to rename bug introduced by
+ HDFS-677. (suresh)
+
+ HDFS-579. Fix DfsTask to follow the semantics of 0.19, regarding non-zero
+ return values as failures. (Christian Kunz via cdouglas)
+
Release 0.20.1 - 2009-09-01
IMPROVEMENTS
Modified: hadoop/hdfs/trunk/src/ant/org/apache/hadoop/ant/condition/DfsBaseConditional.java
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/ant/org/apache/hadoop/ant/condition/DfsBaseConditional.java?rev=826136&r1=826135&r2=826136&view=diff
==============================================================================
--- hadoop/hdfs/trunk/src/ant/org/apache/hadoop/ant/condition/DfsBaseConditional.java (original)
+++ hadoop/hdfs/trunk/src/ant/org/apache/hadoop/ant/condition/DfsBaseConditional.java Sat
Oct 17 00:14:24 2009
@@ -56,7 +56,7 @@
protected int postCmd(int exit_code) {
exit_code = super.postCmd(exit_code);
- result = exit_code == 1;
+ result = exit_code == 0;
return exit_code;
}
|