Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Current code -
for (Job job : jc.getRunningJobs()) { RunningJob runningJob = getJob(job.getJobClient(), job.getAssignedJobID()); if (runningJob!=null) { runningJob.killJob(); log.info("Job " + job.getAssignedJobID() + " killed"); } }
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).
Attachments
Issue Links
- relates to
-
PIG-3913 Pig should use job's jobClient wherever possible (fixes local mode counters)
- Closed