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 2011/08/02 07:46:40 UTC

svn commit: r1153032 - in /pig/branches/branch-0.9: CHANGES.txt contrib/penny/java/src/main/java/org/apache/pig/penny/PennyServer.java

Author: daijy
Date: Tue Aug  2 05:46:39 2011
New Revision: 1153032

URL: http://svn.apache.org/viewvc?rev=1153032&view=rev
Log:
PIG-2013: Penny gets a null pointer when no properties are set

Modified:
    pig/branches/branch-0.9/CHANGES.txt
    pig/branches/branch-0.9/contrib/penny/java/src/main/java/org/apache/pig/penny/PennyServer.java

Modified: pig/branches/branch-0.9/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/CHANGES.txt?rev=1153032&r1=1153031&r2=1153032&view=diff
==============================================================================
--- pig/branches/branch-0.9/CHANGES.txt (original)
+++ pig/branches/branch-0.9/CHANGES.txt Tue Aug  2 05:46:39 2011
@@ -192,6 +192,8 @@ PIG-1696: Performance: Use System.arrayc
 
 BUG FIXES
 
+PIG-2013: Penny gets a null pointer when no properties are set (breed via daijy)
+
 PIG-2146: POStore.getSchema() returns null because of which PigOutputCommitter
  is not storing schema while cleanup (thejas)
 

Modified: pig/branches/branch-0.9/contrib/penny/java/src/main/java/org/apache/pig/penny/PennyServer.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/contrib/penny/java/src/main/java/org/apache/pig/penny/PennyServer.java?rev=1153032&r1=1153031&r2=1153032&view=diff
==============================================================================
--- pig/branches/branch-0.9/contrib/penny/java/src/main/java/org/apache/pig/penny/PennyServer.java (original)
+++ pig/branches/branch-0.9/contrib/penny/java/src/main/java/org/apache/pig/penny/PennyServer.java Tue Aug  2 05:46:39 2011
@@ -28,7 +28,7 @@ public class PennyServer {
     
     private final PigContext pigContext;
     private static ExecType execType = ExecType.MAPREDUCE;
-    private static Properties properties;
+    private static Properties properties = new Properties();
     public static void setExecType(ExecType execType) {
         PennyServer.execType = execType;
     }