[
https://issues.apache.org/jira/browse/HADOOP-5048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sreekanth Ramakrishnan updated HADOOP-5048:
-------------------------------------------
Attachment: HADOOP-5048-1.patch
Attaching patch which does following:
*JobQueueManager*
* Changed the internal data-structure name from jobList to waitingJobs.
* Changed method names addJob, removeJob, getJob to reflect the change to
include Waiting in method name.
* Added logic to remove jobs from waiting job queue in job queue manager.
*JobInitalizationPoller*
* Changed the initialized job list to accept JobInProgress instead of JobID.
* Moved the job clean up code into a separate method.
* Breaking out of the jobs list if the maximum number of jobs for the queue
limit has been reached. (Based on offline discussion with Vivek and Amar).
*TestCapacityScheduler*
* Changed test case now to test with actual JobInProgress objects
* Added a new testcase to test conditions of Job removal.
> Sometimes job is still displayed in jobqueue_details page for long time after
> job was killed.
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-5048
> URL: https://issues.apache.org/jira/browse/HADOOP-5048
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/capacity-sched
> Reporter: Karam Singh
> Assignee: Sreekanth Ramakrishnan
> Attachments: HADOOP-5048-1.patch
>
>
> When I tried kill all running job, I noticed that were two jobs were listed
> on jobqueue_details.jsp page page as well as they were also listed under
> failed job on jobtracker.jsp page.
> When I checked status of each that was displayed "killed" and Cleanup task
> status as "Successful", but both jobs were also being on jobqueue_details.jsp
> page for longtime e.g up to 10 -15 mins after I restarted JobTracker.
> Before killing the jobs, status of both jobs was running and no task of from
> them was scheduled.
> I noticed this behavior on 3 different occasions. But is this random, not
> always reproducible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.