You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Aniket Mokashi (JIRA)" <ji...@apache.org> on 2014/03/28 22:05:19 UTC

[jira] [Created] (PIG-3853) Pig does not kill all the jobs during shutdown for hadoop2

Aniket Mokashi created PIG-3853:
-----------------------------------

             Summary: Pig does not kill all the jobs during shutdown for hadoop2
                 Key: PIG-3853
                 URL: https://issues.apache.org/jira/browse/PIG-3853
             Project: Pig
          Issue Type: Bug
            Reporter: Aniket Mokashi


Current code -
{code}
for (Job job : jc.getRunningJobs()) {
                    RunningJob runningJob = getJob(job.getJobClient(), job.getAssignedJobID());
                    if (runningJob!=null) {
                        runningJob.killJob();
                        log.info("Job " + job.getAssignedJobID() + " killed");
                    }
                }
{code}
is not sufficient for killing all the submitted jobs. It does not kill the jobs that are submitted to the cluster but are in UNDEFINED state (with appid but no app-master).



--
This message was sent by Atlassian JIRA
(v6.2#6252)