Browse Source

svn merge -c 1509900 FIXES: MAPREDUCE-5440. TestCopyCommitter Fails on JDK7. Contributed by Robert Parker

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.1-beta@1509902 13f79535-47bb-0310-9956-ffa450edef68
Jason Darrell Lowe 12 years ago
parent
commit
b961b9b4dd

+ 2 - 0
hadoop-mapreduce-project/CHANGES.txt

@@ -33,6 +33,8 @@ Release 2.1.1-beta - UNRELEASED
     MAPREDUCE-3193. FileInputFormat doesn't read files recursively in the
     MAPREDUCE-3193. FileInputFormat doesn't read files recursively in the
     input path dir (Devaraj K via jlowe)
     input path dir (Devaraj K via jlowe)
 
 
+    MAPREDUCE-5440. TestCopyCommitter Fails on JDK7 (Robert Parker via jlowe)
+
 Release 2.1.0-beta - 2013-08-06
 Release 2.1.0-beta - 2013-08-06
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 1 - 0
hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/mapred/TestCopyCommitter.java

@@ -169,6 +169,7 @@ public class TestCopyCommitter {
       Assert.fail("Preserve status failure");
       Assert.fail("Preserve status failure");
     } finally {
     } finally {
       TestDistCpUtils.delete(fs, "/tmp1");
       TestDistCpUtils.delete(fs, "/tmp1");
+      conf.unset(DistCpConstants.CONF_LABEL_PRESERVE_STATUS);
     }
     }
 
 
   }
   }