HADOOP-11253. Hadoop streaming test TestStreamXmlMultipleRecords fails on Windows. Contributed by Varun Vasudev.

This commit is contained in:
Haohui Mai 2014-10-31 11:54:18 -07:00
parent 31612ed64d
commit 5e5585a7e0
2 changed files with 5 additions and 2 deletions

View File

@ -523,6 +523,9 @@ Release 2.6.0 - UNRELEASED
HADOOP-11198. Fix typo in javadoc for FileSystem#listStatus().
(Li Lu via wheat9)
HADOOP-11253. Hadoop streaming test TestStreamXmlMultipleRecords fails on
Windows. (Varun Vasudev via wheat9)
BREAKDOWN OF HDFS-6134 AND HADOOP-10150 SUBTASKS AND RELATED JIRAS
HADOOP-10734. Implement high-performance secure random number sources.

View File

@ -53,9 +53,9 @@ public class TestStreamXmlMultipleRecords extends TestStreaming
private Configuration conf = null;
private String myPerlMapper =
"perl -n -a -e 'print join(\"\\n\", map { \"$_\\t1\" } @F), \"\\n\";'";
"perl -n -a -e 'print join(qq(\\n), map { qq($_\\t1) } @F), qq(\\n);'";
private String myPerlReducer =
"perl -n -a -e '$freq{$F[0]}++; END { print \"is\\t$freq{is}\\n\"; }'";
"perl -n -a -e '$freq{$F[0]}++; END { print qq(is\\t$freq{is}\\n); }'";
public TestStreamXmlMultipleRecords() throws IOException {
super();