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

Jonathan Eagles commented on MAPREDUCE-5052:
--------------------------------------------

Hi Chen. Thanks for putting up a patch for this item. Will be very useful to 
many.
Couple of minor things based on my first pass of reading. Will add more details 
as I dive deeper into this.
  - Please update the documentation for the REST api to reflect code changes. 
Quick scan shows possible locations of updates
  -- 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/HistoryServerRest.apt.vm
  -- 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/MapredAppMasterRest.apt.vm
  -- 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/ResourceManagerRest.apt.vm
  -- 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WebServicesIntro.apt.vm
  - Still feel there is confusion about using the term launch time vs start 
time. Seems there is already a precedence in RM and AM for the term start time.
  - Assert description mismatch in _Assert.assertEquals("Queue name different 
after encoding and decoding", info.getLaunchTime(), 
parsedInfo.getLaunchTime());_


> 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
>            Assignee: Chen He
>            Priority: Critical
>         Attachments: MAPREDUCE-5052-updated.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to