Daniel Dai created PIG-5030:
-------------------------------

             Summary: kill command only kill application the session launches 
in Tez mode
                 Key: PIG-5030
                 URL: https://issues.apache.org/jira/browse/PIG-5030
             Project: Pig
          Issue Type: Bug
          Components: tez
            Reporter: Daniel Dai
            Assignee: Daniel Dai
             Fix For: 0.17.0


"kill applicationId" does not work in general. Here is the existing code:
{code}
public void killJob(String jobID, Configuration conf) throws BackendException {
        if (runningJob != null && runningJob.getApplicationId().toString() == 
jobID) {
            try {
                runningJob.killJob();
            } catch (Exception e) {
                throw new BackendException(e);
            }
        } else {
            log.info("Cannot find job: " + jobID);
        }
    }
{code}
It only kill application the client launches. It is different than what we have 
in MapReduce.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to