[ 
https://issues.apache.org/jira/browse/HADOOP-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529835
 ] 

Amar Kamat commented on HADOOP-1839:
------------------------------------

EnumSet<TaskStatus.State> cannot be used since TIP states are different from 
task states. Currently there is no concept of TIP state and is computed using 
its task states. The TIP state information is made available using the 
following APIs
{code}
isCompeted(), isRunning ...
{code}
Hence separate TIP states are required so that some states like PENDING can 
also be included. 
In TaskInProgress 
{code}
enum State {Completed, Running, Killed, Failed, Pending}
{code}
might be the solution over this problem.

> 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.

Reply via email to