You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ro...@apache.org on 2016/07/26 22:13:40 UTC

svn commit: r1754185 - in /pig/trunk: CHANGES.txt src/org/apache/pig/backend/hadoop/executionengine/tez/TezLauncher.java

Author: rohini
Date: Tue Jul 26 22:13:40 2016
New Revision: 1754185

URL: http://svn.apache.org/viewvc?rev=1754185&view=rev
Log:
PIG-4935: TEZ_USE_CLUSTER_HADOOP_LIBS is always set to true (rohini)

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/tez/TezLauncher.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1754185&r1=1754184&r2=1754185&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Tue Jul 26 22:13:40 2016
@@ -38,6 +38,8 @@ OPTIMIZATIONS
  
 BUG FIXES
 
+PIG-4935: TEZ_USE_CLUSTER_HADOOP_LIBS is always set to true (rohini)
+
 PIG-4961: CROSS followed by LIMIT inside nested foreach drop data from result (rohini)
 
 PIG-4960: Split followed by order by/skewed join is skewed in Tez (rohini)

Modified: pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/tez/TezLauncher.java
URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/tez/TezLauncher.java?rev=1754185&r1=1754184&r2=1754185&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/tez/TezLauncher.java (original)
+++ pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/tez/TezLauncher.java Tue Jul 26 22:13:40 2016
@@ -166,7 +166,7 @@ public class TezLauncher extends Launche
         tezStats = new TezPigScriptStats(pc);
         PigStats.start(tezStats);
 
-        conf.set(TezConfiguration.TEZ_USE_CLUSTER_HADOOP_LIBS, "true");
+        conf.setIfUnset(TezConfiguration.TEZ_USE_CLUSTER_HADOOP_LIBS, "true");
         TezJobCompiler jc = new TezJobCompiler(pc, conf);
         TezPlanContainer tezPlanContainer = compile(php, pc);