[
https://issues.apache.org/jira/browse/HADOOP-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528857
]
Enis Soztutar commented on HADOOP-1839:
---------------------------------------
bq. If we do this how will one fetch reports of all the tasks that are either
completed or pending.
I think of something like
{code}
getTaskReports(String, EnumSet<TaskStatus.State>)
{code}
the last parameter is an set of TaskStatuses used as a filter to select which
TaskStatuses we want. In the JobClient then we may have methods like
getMapTaskReports(), getFailedMapTaskReports(), getSuccessfulMapTaskReports(),
etc.
However i would really like TaskReport to have the state of the task as an
enum, not a string so that we wont have multiconditional string comparison
statements (such as if ("running".equals(state) ).
> Link-ify the Pending/Running/Complete/Killed tasks/task-attempts on
> jobdetails.jsp
> ----------------------------------------------------------------------------------
>
> Key: HADOOP-1839
> URL: https://issues.apache.org/jira/browse/HADOOP-1839
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.15.0
> Reporter: Arun C Murthy
> Assignee: Amar Kamat
> Fix For: 0.15.0
>
> Attachments: HADOOP-1839.patch, HADOOP-1839.patch
>
>
> Ensuring that we can quickly view the Pending/Running/Complete/Killed tasks
> and task-attempts from jobdetails.jsp helps to narrow down and hence makes it
> easier to debug.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.