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)

Reply via email to