[
https://issues.apache.org/jira/browse/HADOOP-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Devaraj Das updated HADOOP-4807:
--------------------------------
Attachment: 4807.3.patch
Thanks Arun/Sharad for looking at this. I have incorporated the comments.
1) Made TaskInProgressStatusType a separate class all by itself and called it
TIPStatus
2) Factored TaskInProgressStatus functionality into TaskReport since that is
where it is needed
3) Added a new getClusterStatus method that takes a boolean argument and
depending on whether it is true, sets the task tracker names as well. If false,
only counts of blacklisted/active trackers are set (as is the behavior today).
I did this since I wanted to avoid iterations over the tasktracker list for
every call to assignTasks in CapacityScheduler, for example.
> Add framework hooks to get the running/completed/pending tasks for a given
> job. Add a way to query the list of currently active tasktrackers from the
> JobTracker.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-4807
> URL: https://issues.apache.org/jira/browse/HADOOP-4807
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: mapred
> Reporter: Devaraj Das
> Assignee: Devaraj Das
> Fix For: 0.20.0
>
> Attachments: 4807.3.patch, 4807.patch
>
>
> Add framework hooks to get the IDs of running/completed/pending tasks for a
> given job. Add a way to query the list of currently active tasktrackers from
> the JobTracker. These are required to inject failures.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.