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/09/30 16:24:13 UTC

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

Author: rohini
Date: Fri Sep 30 16:24:13 2016
New Revision: 1762933

URL: http://svn.apache.org/viewvc?rev=1762933&view=rev
Log:
PIG-5035: killJob API does not work in Tez (zjffdu via 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=1762933&r1=1762932&r2=1762933&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Fri Sep 30 16:24:13 2016
@@ -46,6 +46,8 @@ OPTIMIZATIONS
  
 BUG FIXES
 
+PIG-5035: killJob API does not work in Tez (zjffdu via rohini)
+
 PIG-5032: Output record stats in Tez is wrong when there is split followed by union (rohini)
 
 PIG-5031: Tez failing to compile when replicate join is done with a limit vertex on left (knoguchi)

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=1762933&r1=1762932&r2=1762933&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 Fri Sep 30 16:24:13 2016
@@ -519,7 +519,7 @@ public class TezLauncher extends Launche
 
     @Override
     public void killJob(String jobID, Configuration conf) throws BackendException {
-        if (runningJob != null && runningJob.getApplicationId().toString() == jobID) {
+        if (runningJob != null && runningJob.getApplicationId().toString().equals(jobID)) {
             try {
                 runningJob.killJob();
             } catch (Exception e) {