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 08:46:09 UTC
svn commit: r1232772 - in /pig/branches/branch-0.9: CHANGES.txt
test/org/apache/pig/test/TestUDFContext.java
Author: daijy
Date: Wed Jan 18 07:46:08 2012
New Revision: 1232772
URL: http://svn.apache.org/viewvc?rev=1232772&view=rev
Log:
PIG-2480: TestUDFContext.testUDFContext failing against hadoop 23
Modified:
pig/branches/branch-0.9/CHANGES.txt
pig/branches/branch-0.9/test/org/apache/pig/test/TestUDFContext.java
Modified: pig/branches/branch-0.9/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/CHANGES.txt?rev=1232772&r1=1232771&r2=1232772&view=diff
==============================================================================
--- pig/branches/branch-0.9/CHANGES.txt (original)
+++ pig/branches/branch-0.9/CHANGES.txt Wed Jan 18 07:46:08 2012
@@ -44,6 +44,8 @@ PIG-2128: Generating the jar file takes
BUG FIXES
+PIG-2480: TestUDFContext.testUDFContext failing against hadoop 23 (daijy)
+
PIG-2477: TestBuiltin testLFText/testSFPig failing against 23 due to invalid test setup -- InvalidInputException (phunt via daijy)
PIG-2119: DuplicateForEachColumnRewrite makes assumptions about the position of LOGGenerate in the plan (daijy)
Modified: pig/branches/branch-0.9/test/org/apache/pig/test/TestUDFContext.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/test/org/apache/pig/test/TestUDFContext.java?rev=1232772&r1=1232771&r2=1232772&view=diff
==============================================================================
--- pig/branches/branch-0.9/test/org/apache/pig/test/TestUDFContext.java (original)
+++ pig/branches/branch-0.9/test/org/apache/pig/test/TestUDFContext.java Wed Jan 18 07:46:08 2012
@@ -52,7 +52,7 @@ public class TestUDFContext {
File a = Util.createLocalInputFile("a.txt", new String[] { "dumb" });
File b = Util.createLocalInputFile("b.txt", new String[] { "dumber" });
FileLocalizer.deleteTempFiles();
- PigServer pig = new PigServer(ExecType.LOCAL, cluster.getProperties());
+ PigServer pig = new PigServer(ExecType.LOCAL, new Properties());
String[] statement = { "A = LOAD '" + a.getAbsolutePath() +
"' USING org.apache.pig.test.utils.UDFContextTestLoader('joe');",
"B = LOAD '" + b.getAbsolutePath() +
@@ -89,7 +89,7 @@ public class TestUDFContext {
*/
@Test
public void testUDFContextReset() throws Exception {
- PigServer pig = new PigServer(ExecType.LOCAL, cluster.getProperties());
+ PigServer pig = new PigServer(ExecType.LOCAL, new Properties());
pig.registerQuery(" l = load 'file' as (a :int, b : int, c : int);");
pig.registerQuery(" f = foreach l generate a, b;");
pig.explain("f", System.out);