[jira] [Updated] (MAPREDUCE-5797) The elapsed time for tasks in a failed job that were never started can be way off.

2014-03-14 Thread Rushabh S Shah (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-5797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rushabh S Shah updated MAPREDUCE-5797:
--

Attachment: patch-MapReduce-5797.patch

 The elapsed time for tasks in a failed job that were never started can be way 
 off. 
 ---

 Key: MAPREDUCE-5797
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5797
 Project: Hadoop Map/Reduce
  Issue Type: Bug
  Components: jobhistoryserver, webapps
Affects Versions: 0.23.9
Reporter: Rushabh S Shah
Assignee: Rushabh S Shah
 Attachments: patch-MapReduce-5797.patch


 The elapsed time for tasks in a failed job that were never
 started can be way off.  It looks like we're marking the start time as the
 beginning of the epoch (i.e.: start time = -1) but the finish time is when the
 task was marked as failed when the whole job failed.  That causes the
 calculated elapsed time of the task to be a ridiculous number of hours.
 Tasks that fail without any attempts shouldn't have start/finish/elapsed 
 times.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (MAPREDUCE-5797) The elapsed time for tasks in a failed job that were never started can be way off.

2014-03-14 Thread Rushabh S Shah (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-5797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rushabh S Shah updated MAPREDUCE-5797:
--

Status: Patch Available  (was: Open)

Add a new check in javascript if the returned date is '-1'. If it is then 
return N/A.
Minor changes to Times.java  also and added a test case to confirm that.

 The elapsed time for tasks in a failed job that were never started can be way 
 off. 
 ---

 Key: MAPREDUCE-5797
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5797
 Project: Hadoop Map/Reduce
  Issue Type: Bug
  Components: jobhistoryserver, webapps
Affects Versions: 0.23.9
Reporter: Rushabh S Shah
Assignee: Rushabh S Shah
 Attachments: patch-MapReduce-5797.patch


 The elapsed time for tasks in a failed job that were never
 started can be way off.  It looks like we're marking the start time as the
 beginning of the epoch (i.e.: start time = -1) but the finish time is when the
 task was marked as failed when the whole job failed.  That causes the
 calculated elapsed time of the task to be a ridiculous number of hours.
 Tasks that fail without any attempts shouldn't have start/finish/elapsed 
 times.



--
This message was sent by Atlassian JIRA
(v6.2#6252)