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 2012/07/09 20:50:20 UTC

svn commit: r1359333 - in /pig/branches/branch-0.10: CHANGES.txt test/e2e/pig/tests/turing_jython.conf

Author: daijy
Date: Mon Jul  9 18:50:19 2012
New Revision: 1359333

URL: http://svn.apache.org/viewvc?rev=1359333&view=rev
Log:
PIG-2783: Fix Iterator_1 e2e test for Hadoop 23

Modified:
    pig/branches/branch-0.10/CHANGES.txt
    pig/branches/branch-0.10/test/e2e/pig/tests/turing_jython.conf

Modified: pig/branches/branch-0.10/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/CHANGES.txt?rev=1359333&r1=1359332&r2=1359333&view=diff
==============================================================================
--- pig/branches/branch-0.10/CHANGES.txt (original)
+++ pig/branches/branch-0.10/CHANGES.txt Mon Jul  9 18:50:19 2012
@@ -28,6 +28,8 @@ PIG-2727: PigStorage Source tagging does
 
 BUG FIXES
 
+PIG-2783: Fix Iterator_1 e2e test for Hadoop 23 (rohini via daijy)
+
 PIG-2761: With hadoop23 importing modules inside python script does not work (rohini via daijy)
 
 PIG-2759: Typo in document "Built In Functions" (daijy)

Modified: pig/branches/branch-0.10/test/e2e/pig/tests/turing_jython.conf
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/test/e2e/pig/tests/turing_jython.conf?rev=1359333&r1=1359332&r2=1359333&view=diff
==============================================================================
--- pig/branches/branch-0.10/test/e2e/pig/tests/turing_jython.conf (original)
+++ pig/branches/branch-0.10/test/e2e/pig/tests/turing_jython.conf Mon Jul  9 18:50:19 2012
@@ -700,6 +700,7 @@ while iter.hasNext():
     gpa = t.get(2)
     pigfile.write(str(name) + "\\t" + str(age) + "\\t" + str(gpa) + "\\n")
 pigfile.close()
+Pig.fs("-mkdir :OUTPATH:")
 Pig.fs("-copyFromLocal :TMP:/iterator_output.txt :OUTPATH:/part-m-00000")
 @,
              'verify_pig_script' => q\A = load ':INPATH:/singlefile/studenttab10k';