pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1370423 - in /pig/trunk: CHANGES.txt test/e2e/pig/conf/local.conf test/e2e/pig/tests/negative.conf test/e2e/pig/tests/nightly.conf test/e2e/pig/tests/turing_jython.conf
Date Tue, 07 Aug 2012 18:27:04 GMT
Author: daijy
Date: Tue Aug  7 18:27:04 2012
New Revision: 1370423

URL: http://svn.apache.org/viewvc?rev=1370423&view=rev
Log:
PIG-2859: Fix few e2e test failures

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/test/e2e/pig/conf/local.conf
    pig/trunk/test/e2e/pig/tests/negative.conf
    pig/trunk/test/e2e/pig/tests/nightly.conf
    pig/trunk/test/e2e/pig/tests/turing_jython.conf

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1370423&r1=1370422&r2=1370423&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Tue Aug  7 18:27:04 2012
@@ -487,6 +487,8 @@ PIG-2228: support partial aggregation in
 
 BUG FIXES
 
+PIG-2859: Fix few e2e test failures (rohini via daijy)
+
 PIG-2729: Macro expansion does not use pig.import.search.path - UnitTest borked (johannesch
via daijy)
 
 PIG-2783: Fix Iterator_1 e2e test for Hadoop 23 (rohini via daijy)

Modified: pig/trunk/test/e2e/pig/conf/local.conf
URL: http://svn.apache.org/viewvc/pig/trunk/test/e2e/pig/conf/local.conf?rev=1370423&r1=1370422&r2=1370423&view=diff
==============================================================================
--- pig/trunk/test/e2e/pig/conf/local.conf (original)
+++ pig/trunk/test/e2e/pig/conf/local.conf Tue Aug  7 18:27:04 2012
@@ -53,6 +53,7 @@ $cfg = {
     , 'exectype'         => 'local'
 
 	#HADOOP
+	, 'mapredjars'       => "$ENV{PH_ROOT}/lib"
 	, 'hadoopHome'       => "$ENV{PH_ROOT}/lib"
 
     , 'userhomePath' => "$ENV{HOME}"

Modified: pig/trunk/test/e2e/pig/tests/negative.conf
URL: http://svn.apache.org/viewvc/pig/trunk/test/e2e/pig/tests/negative.conf?rev=1370423&r1=1370422&r2=1370423&view=diff
==============================================================================
--- pig/trunk/test/e2e/pig/tests/negative.conf (original)
+++ pig/trunk/test/e2e/pig/tests/negative.conf Tue Aug  7 18:27:04 2012
@@ -152,7 +152,7 @@ store a into ':INPATH:/singlefile/fileex
                         c = foreach b { 
                                 d = load ':INPATH:/singlefile/votertab10k' as (name, age,
registration, contributions); 
                                 generate *;}\,
-            'expected_err_regex' => "mismatched input ''/user/pig/tests/data/singlefile/votertab10k''
expecting LEFT_PAREN",
+            'expected_err_regex' => "mismatched input ''.*/singlefile/votertab10k'' expecting
LEFT_PAREN",
             },
             {
             'num' => 9,

Modified: pig/trunk/test/e2e/pig/tests/nightly.conf
URL: http://svn.apache.org/viewvc/pig/trunk/test/e2e/pig/tests/nightly.conf?rev=1370423&r1=1370422&r2=1370423&view=diff
==============================================================================
--- pig/trunk/test/e2e/pig/tests/nightly.conf (original)
+++ pig/trunk/test/e2e/pig/tests/nightly.conf Tue Aug  7 18:27:04 2012
@@ -2483,7 +2483,7 @@ register :FUNCPATH:/testudf.jar;
 a = load ':INPATH:/singlefile/studenttab10k' using PigStorage() as (name:chararray, age:int,
gpa: double);
 b = foreach a generate CONCAT('(', name), CONCAT((chararray)age, ' )');
 store b into ':OUTPATH:.intermediate' using PigStorage(',');
-c = load ':OUTPATH:.intermediate' using DumpLoader();
+c = load ':OUTPATH:.intermediate' using org.apache.pig.test.udf.storefunc.DumpLoader();
 store c into ':OUTPATH:';\,
 
             'notmq' => 1,

Modified: pig/trunk/test/e2e/pig/tests/turing_jython.conf
URL: http://svn.apache.org/viewvc/pig/trunk/test/e2e/pig/tests/turing_jython.conf?rev=1370423&r1=1370422&r2=1370423&view=diff
==============================================================================
--- pig/trunk/test/e2e/pig/tests/turing_jython.conf (original)
+++ pig/trunk/test/e2e/pig/tests/turing_jython.conf Tue Aug  7 18:27:04 2012
@@ -754,13 +754,13 @@ pigfile.close()
 #main.pig
 
 P = Pig.compile("""import ':TMP:/module.pig';
-alpha = load ':INPATH:' as (user, age, gpa);
+alpha = load ':INPATH:/singlefile/studenttab10k' as (user, age, gpa);
 gamma = group_and_count (alpha, user);
 store gamma into ':OUTPATH:';
 """)
 P.bind().runSingle()
 \,
-                    'verify_pig_script' => q\A = load ':INPATH:' as (user, age, gpa);
+                    'verify_pig_script' => q\A = load ':INPATH:/singlefile/studenttab10k'
as (user, age, gpa);
                                              B = group A by user;
                                              C = foreach B generate group, COUNT(A);
                                              store C into ':OUTPATH:';\



Mime
View raw message