[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668253#comment-13668253
 ] 

Anand V M commented on MAPREDUCE-5052:
--------------------------------------

In REST API for job listing, startTime and finishTime are being fetched from 
the job history file name. To be precise it is calling 
FileNameIndexUtils.getIndexInfo(). So adding a submitTime field will result in 
startTime having no value(as the file name does not contain the startTime info) 
and submitTime having job submitted value which is currently available as part 
of file name.

Is there a way to get the startTime for each of the jobs as this is not 
available in the job history file name?
                
> Job History UI and web services confusing job start time and job submit time
> ----------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5052
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5052
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, webapps
>    Affects Versions: 0.23.6
>            Reporter: Kendall Thrapp
>            Priority: Critical
>
> The "Start Time" column shown on Job History server's main webpage 
> (http://<host>:<port>/jobhistory) is actually showing the *submit* time for 
> jobs.  However, when you drill down to an individual job's page, there the 
> "Start Time" really does refer to when the job actually started.  
> This also true for the web services REST API, where the Jobs listing returns 
> the submit times as "startTime", but the single Job API returns the start 
> time as "startTime".
> The two different times being referred to by the same name is confusing.  
> However, it is useful to have both times, as the difference between the 
> submit time and start time can show how long a job was stuck waiting in a 
> queue.  The column on the main job history page should be changed to "Submit 
> Time" and the individual job's page should show both the submit time and 
> start time.  The web services REST API should be updated with these changes 
> as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to