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/01/18 01:13:07 UTC
svn commit: r1232660 - in /pig/branches/branch-0.10: CHANGES.txt
test/org/apache/pig/test/TestBuiltin.java
Author: daijy
Date: Wed Jan 18 00:13:07 2012
New Revision: 1232660
URL: http://svn.apache.org/viewvc?rev=1232660&view=rev
Log:
PIG-2477: TestBuiltin testLFText/testSFPig failing against 23 due to invalid test setup -- InvalidInputException
Modified:
pig/branches/branch-0.10/CHANGES.txt
pig/branches/branch-0.10/test/org/apache/pig/test/TestBuiltin.java
Modified: pig/branches/branch-0.10/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/CHANGES.txt?rev=1232660&r1=1232659&r2=1232660&view=diff
==============================================================================
--- pig/branches/branch-0.10/CHANGES.txt (original)
+++ pig/branches/branch-0.10/CHANGES.txt Wed Jan 18 00:13:07 2012
@@ -160,6 +160,8 @@ PIG-2228: support partial aggregation in
BUG FIXES
+PIG-2477: TestBuiltin testLFText/testSFPig failing against 23 due to invalid test setup -- InvalidInputException (phunt via daijy)
+
PIG-2400: Document has based aggregation support (chandec via daijy)
PIG-2444: Remove the Zebra *.xml documentation files from the TRUNK and Branch-10 (chandec via daijy)
Modified: pig/branches/branch-0.10/test/org/apache/pig/test/TestBuiltin.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/test/org/apache/pig/test/TestBuiltin.java?rev=1232660&r1=1232659&r2=1232660&view=diff
==============================================================================
--- pig/branches/branch-0.10/test/org/apache/pig/test/TestBuiltin.java (original)
+++ pig/branches/branch-0.10/test/org/apache/pig/test/TestBuiltin.java Wed Jan 18 00:13:07 2012
@@ -2173,7 +2173,7 @@ public class TestBuiltin {
// check that loading the top level dir still reading the file a couple
// of subdirs below
LoadFunc text1 = new ReadToEndLoader(new TextLoader(), ConfigurationUtil.
- toConfiguration(new Properties()), "testLFTest-input1.txt", 0);
+ toConfiguration(cluster.getProperties()), "testLFTest-input1.txt", 0);
Tuple f1 = text1.getNext();
Tuple f2 = text1.getNext();
Util.deleteFile(cluster, "testLFTest-input1.txt");
@@ -2181,7 +2181,7 @@ public class TestBuiltin {
expected2.equals(f2.get(0).toString()));
Util.createInputFile(cluster, "testLFTest-input2.txt", new String[] {});
LoadFunc text2 = new ReadToEndLoader(new TextLoader(), ConfigurationUtil.
- toConfiguration(new Properties()), "testLFTest-input2.txt", 0);
+ toConfiguration(cluster.getProperties()), "testLFTest-input2.txt", 0);
Tuple f3 = text2.getNext();
Util.deleteFile(cluster, "testLFTest-input2.txt");
assertTrue(f3 == null);
@@ -2207,7 +2207,7 @@ public class TestBuiltin {
Util.registerMultiLineQuery(mrPigServer, query);
mrPigServer.executeBatch();
LoadFunc lfunc = new ReadToEndLoader(new PigStorage(), ConfigurationUtil.
- toConfiguration(new Properties()), outputLocation, 0);
+ toConfiguration(cluster.getProperties()), outputLocation, 0);
Tuple f2 = lfunc.getNext();
Util.deleteFile(cluster, "testSFPig-input.txt");