You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2014/04/03 00:52:18 UTC

svn commit: r1584209 - in /pig/branches/branch-0.12: CHANGES.txt test/e2e/pig/tests/macro.conf test/e2e/pig/tests/multiquery.conf

Author: daijy
Date: Wed Apr  2 22:52:18 2014
New Revision: 1584209

URL: http://svn.apache.org/r1584209
Log:
PIG-3819: e2e tests containing "perl -e "print 2;" fails on Hadoop 2

Modified:
    pig/branches/branch-0.12/CHANGES.txt
    pig/branches/branch-0.12/test/e2e/pig/tests/macro.conf
    pig/branches/branch-0.12/test/e2e/pig/tests/multiquery.conf

Modified: pig/branches/branch-0.12/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.12/CHANGES.txt?rev=1584209&r1=1584208&r2=1584209&view=diff
==============================================================================
--- pig/branches/branch-0.12/CHANGES.txt (original)
+++ pig/branches/branch-0.12/CHANGES.txt Wed Apr  2 22:52:18 2014
@@ -34,6 +34,8 @@ PIG-3480: TFile-based tmpfile compressio
 
 BUG FIXES
 
+PIG-3819: e2e tests containing "perl -e "print $_;" fails on Hadoop 2 (daijy)
+
 PIG-3813: Rank column is assigned different uids everytime when schema is reset (cheolsoo)
 
 PIG-3833: Relation loaded by AvroStorage with schema is projected incorrectly in foreach statement (jeongjinku via cheolsoo)

Modified: pig/branches/branch-0.12/test/e2e/pig/tests/macro.conf
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.12/test/e2e/pig/tests/macro.conf?rev=1584209&r1=1584208&r2=1584209&view=diff
==============================================================================
--- pig/branches/branch-0.12/test/e2e/pig/tests/macro.conf (original)
+++ pig/branches/branch-0.12/test/e2e/pig/tests/macro.conf Wed Apr  2 22:52:18 2014
@@ -365,7 +365,7 @@ $cfg = {
         {
           #define for streaming combines with define for macros
           'num' => 3,
-          ,'pig' => q#define CMD `perl -ne "print $_;"`;
+          ,'pig' => q#define CMD `perl -ne 'print $_;'`;
                       define test(in) returns B {
                           $B = stream $in through CMD as (name, age, gpa);
                       }
@@ -374,7 +374,7 @@ $cfg = {
                       x = test(A);
                       store x into ':OUTPATH:';#,
           'verify_pig_script' => q#A = load ':INPATH:/singlefile/studenttab10k' as (name, age, gpa);
-                                   define CMD `perl -ne "print $_;"`;
+                                   define CMD `perl -ne 'print $_;'`;
                                    B = stream A through CMD as (name, age, gpa);
                                    store B into ':OUTPATH:';#,
           'floatpostprocess' => 1,

Modified: pig/branches/branch-0.12/test/e2e/pig/tests/multiquery.conf
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.12/test/e2e/pig/tests/multiquery.conf?rev=1584209&r1=1584208&r2=1584209&view=diff
==============================================================================
--- pig/branches/branch-0.12/test/e2e/pig/tests/multiquery.conf (original)
+++ pig/branches/branch-0.12/test/e2e/pig/tests/multiquery.conf Wed Apr  2 22:52:18 2014
@@ -228,8 +228,8 @@ $cfg = {
             {
             # Streaming with multiple stores
             'num' => 11,
-            'pig' => q# define CMD1 `perl -ne \"print $_;\"`;
-                        define CMD2 `perl -ne \"print $_;\"`;
+            'pig' => q# define CMD1 `perl -ne 'print $_;'`;
+                        define CMD2 `perl -ne 'print $_;'`;
                         A = load ':INPATH:/singlefile/studenttab10k' as (name, age, gpa);
                         B = stream A through CMD1 as (name, age, gpa);
                         store B into ':OUTPATH:.1';