hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whe...@apache.org
Subject git commit: HADOOP-11253. Hadoop streaming test TestStreamXmlMultipleRecords fails on Windows. Contributed by Varun Vasudev.
Date Fri, 31 Oct 2014 18:54:55 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.6 b7296ee84 -> 2bb845de3


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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/2bb845de
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/2bb845de
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/2bb845de

Branch: refs/heads/branch-2.6
Commit: 2bb845de3ced5966b08ba5393c3089dbd8b11bd2
Parents: b7296ee
Author: Haohui Mai <wheat9@apache.org>
Authored: Fri Oct 31 11:54:18 2014 -0700
Committer: Haohui Mai <wheat9@apache.org>
Committed: Fri Oct 31 11:54:48 2014 -0700

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                  | 3 +++
 .../apache/hadoop/streaming/TestStreamXmlMultipleRecords.java    | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2bb845de/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 63d2664..827a69a 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -490,6 +490,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.

http://git-wip-us.apache.org/repos/asf/hadoop/blob/2bb845de/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestStreamXmlMultipleRecords.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestStreamXmlMultipleRecords.java
b/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestStreamXmlMultipleRecords.java
index cd64c82..4d9017b 100644
--- a/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestStreamXmlMultipleRecords.java
+++ b/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/TestStreamXmlMultipleRecords.java
@@ -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();


Mime
View raw message