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

Sunil G commented on YARN-7088:
-------------------------------

{code}
184             this.pendingTime = Times.elapsed(app.getStartTime(),
185                 app.getLaunchTime());
186             this.elapsedTime = Times.elapsed(app.getLaunchTime(),
187                 app.getFinishTime());
{code}

*elapsedTime* could depend on scheduler wait queue as we discussed. I guess 
*pendingTime* is indicated as time between app start from RM and its 
registration time. If app is registered later, this value at time may not be 
very small in seconds.

Since we need to project time different between "app start" and "app 
registration", *pending* is still vague. Even if the length of variable a 
little bigger and if it serves a better readability, i think it might be fine.


> Fix application start time and add submit time to UIs
> -----------------------------------------------------
>
>                 Key: YARN-7088
>                 URL: https://issues.apache.org/jira/browse/YARN-7088
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Abdullah Yousufi
>            Assignee: Abdullah Yousufi
>         Attachments: YARN-7088.001.patch, YARN-7088.002.patch, 
> YARN-7088.003.patch, YARN-7088.004.patch, YARN-7088.005.patch, 
> YARN-7088.006.patch
>
>
> Currently, the start time in the old and new UI actually shows the app 
> submission time. There should actually be two different fields; one for the 
> app's submission and one for its start, as well as the elapsed pending time 
> between the two.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to