[ 
https://issues.apache.org/jira/browse/PIG-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohini Palaniswamy updated PIG-5030:
------------------------------------
    Fix Version/s:     (was: 0.17.0)
                   0.18.0

> 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.18.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.15#6346)

Reply via email to