pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aniket...@apache.org
Subject svn commit: r1576549 - in /pig/trunk: CHANGES.txt src/org/apache/pig/PigServer.java
Date Wed, 12 Mar 2014 00:06:31 GMT
Author: aniket486
Date: Wed Mar 12 00:06:31 2014
New Revision: 1576549

URL: http://svn.apache.org/r1576549
Log:
PIG-3806: PigServer constructor throws NPE after PIG-3765 (aniket486)

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/src/org/apache/pig/PigServer.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1576549&r1=1576548&r2=1576549&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Wed Mar 12 00:06:31 2014
@@ -99,6 +99,8 @@ OPTIMIZATIONS
  
 BUG FIXES
 
+PIG-3806: PigServer constructor throws NPE after PIG-3765 (aniket486)
+
 PIG-3801: Auto local mode does not call storeSchema (aniket486)
 
 PIG-3754: InputSizeReducerEstimator.getTotalInputFileSize reports incorrect size (aniket486)

Modified: pig/trunk/src/org/apache/pig/PigServer.java
URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/PigServer.java?rev=1576549&r1=1576548&r2=1576549&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/PigServer.java (original)
+++ pig/trunk/src/org/apache/pig/PigServer.java Wed Mar 12 00:06:31 2014
@@ -233,6 +233,8 @@ public class PigServer {
         if (connect) {
             pigContext.connect();
         }
+        
+        this.filter = new BlackAndWhitelistFilter(this);
 
         addJarsFromProperties();
         markPredeployedJarsFromProperties();
@@ -244,8 +246,6 @@ public class PigServer {
         if (ScriptState.get() == null) {
             ScriptState.start(pigContext.getExecutionEngine().instantiateScriptState());
         }
-
-        this.filter = new BlackAndWhitelistFilter(this);
     }
 
     private void addJarsFromProperties() throws ExecException {



Mime
View raw message