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 2014/10/31 23:49:15 UTC
svn commit: r1635874 -
/pig/branches/branch-0.14/src/org/apache/pig/PigServer.java
Author: daijy
Date: Fri Oct 31 22:49:15 2014
New Revision: 1635874
URL: http://svn.apache.org/r1635874
Log:
PIG-4160: Provide a way to pass local jars in pig.additional.jars when using a remote url for a script
Modified:
pig/branches/branch-0.14/src/org/apache/pig/PigServer.java
Modified: pig/branches/branch-0.14/src/org/apache/pig/PigServer.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.14/src/org/apache/pig/PigServer.java?rev=1635874&r1=1635873&r2=1635874&view=diff
==============================================================================
--- pig/branches/branch-0.14/src/org/apache/pig/PigServer.java (original)
+++ pig/branches/branch-0.14/src/org/apache/pig/PigServer.java Fri Oct 31 22:49:15 2014
@@ -256,7 +256,7 @@ public class PigServer {
jar_str = jar_str + jar_str_comma;
}
- if(jar_str != null){
+ if(jar_str != null && !jar_str.isEmpty()){
// Use File.pathSeparator (":" on Linux, ";" on Windows)
// to correctly handle path aggregates as they are represented
// on the Operating System.