diff --git a/hadoop-mapreduce-project/CHANGES-fs-encryption.txt b/hadoop-mapreduce-project/CHANGES-fs-encryption.txt index 9127a24ee32..3e1718e624b 100644 --- a/hadoop-mapreduce-project/CHANGES-fs-encryption.txt +++ b/hadoop-mapreduce-project/CHANGES-fs-encryption.txt @@ -14,5 +14,7 @@ fs-encryption (Unreleased) MAPREDUCE-6007. Add support to distcp to preserve raw.* namespace extended attributes. (clamb) + HDFS-6872. Fix TestOptionsParser. (clamb) + BUG FIXES diff --git a/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/TestOptionsParser.java b/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/TestOptionsParser.java index d3da68ed386..2c42269c37e 100644 --- a/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/TestOptionsParser.java +++ b/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/TestOptionsParser.java @@ -357,7 +357,8 @@ public class TestOptionsParser { DistCpOptions option = new DistCpOptions(new Path("abc"), new Path("xyz")); String val = "DistCpOptions{atomicCommit=false, syncFolder=false, deleteMissing=false, " + "ignoreFailures=false, maxMaps=20, sslConfigurationFile='null', copyStrategy='uniformsize', " + - "sourceFileListing=abc, sourcePaths=null, targetPath=xyz, targetPathExists=true}"; + "sourceFileListing=abc, sourcePaths=null, targetPath=xyz, targetPathExists=true, " + + "preserveRawXattrs=false}"; Assert.assertEquals(val, option.toString()); Assert.assertNotSame(DistCpOptionSwitch.ATOMIC_COMMIT.toString(), DistCpOptionSwitch.ATOMIC_COMMIT.name());