Skip to content

Commit 531f3ec

Browse files
author
Charles Lamb
committed
HDFS-6872. Fix TestOptionsParser. (clamb)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1618974 13f79535-47bb-0310-9956-ffa450edef68
1 parent fcde39c commit 531f3ec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

hadoop-mapreduce-project/CHANGES-fs-encryption.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ fs-encryption (Unreleased)
1414
MAPREDUCE-6007. Add support to distcp to preserve raw.* namespace
1515
extended attributes. (clamb)
1616

17+
HDFS-6872. Fix TestOptionsParser. (clamb)
18+
1719
BUG FIXES
1820

hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/TestOptionsParser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ public void testToString() {
357357
DistCpOptions option = new DistCpOptions(new Path("abc"), new Path("xyz"));
358358
String val = "DistCpOptions{atomicCommit=false, syncFolder=false, deleteMissing=false, " +
359359
"ignoreFailures=false, maxMaps=20, sslConfigurationFile='null', copyStrategy='uniformsize', " +
360-
"sourceFileListing=abc, sourcePaths=null, targetPath=xyz, targetPathExists=true}";
360+
"sourceFileListing=abc, sourcePaths=null, targetPath=xyz, targetPathExists=true, " +
361+
"preserveRawXattrs=false}";
361362
Assert.assertEquals(val, option.toString());
362363
Assert.assertNotSame(DistCpOptionSwitch.ATOMIC_COMMIT.toString(),
363364
DistCpOptionSwitch.ATOMIC_COMMIT.name());

0 commit comments

Comments
 (0)