pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From knogu...@apache.org
Subject svn commit: r1781314 - in /pig/trunk: CHANGES.txt src/org/apache/pig/impl/util/JarManager.java
Date Wed, 01 Feb 2017 21:27:58 GMT
Author: knoguchi
Date: Wed Feb  1 21:27:58 2017
New Revision: 1781314

URL: http://svn.apache.org/viewvc?rev=1781314&view=rev
Log:
PIG-5120: Let tez_local mode run without a jar file (knoguchi)

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/src/org/apache/pig/impl/util/JarManager.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1781314&r1=1781313&r2=1781314&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Wed Feb  1 21:27:58 2017
@@ -34,6 +34,8 @@ PIG-5067: Revisit union on numeric type
  
 IMPROVEMENTS
 
+PIG-5120: Let tez_local mode run without a jar file (knoguchi)
+
 PIG-3851: Upgrade jline to 2.11 (daijy)
 
 PIG-4963: Add a Bloom join (rohini)

Modified: pig/trunk/src/org/apache/pig/impl/util/JarManager.java
URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/impl/util/JarManager.java?rev=1781314&r1=1781313&r2=1781314&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/impl/util/JarManager.java (original)
+++ pig/trunk/src/org/apache/pig/impl/util/JarManager.java Wed Feb  1 21:27:58 2017
@@ -207,7 +207,7 @@ public class JarManager {
         List<String> defaultJars = new ArrayList<String>();
         for (DefaultPigPackages pkgToSend : DefaultPigPackages.values()) {
             String jar = findContainingJar(pkgToSend.getPkgClass());
-            if (!defaultJars.contains(jar)) {
+            if (jar != null && !defaultJars.contains(jar)) {
                 defaultJars.add(jar);
             }
         }



Mime
View raw message