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

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

IIUC, there are few fields we are trying to define based on trunk as well as 
this patch.

||Types||Definition||Calculation||
|*submitTime*|Submission time of app from ClientRMService#submitApplication|N/A|
|*startTime*|When RMApp is created in RMAppManager during submission of an 
app|N/A|
|launchTime|When RM has allocated master container for AM and RMAppAttempt 
reaches LAUNCHED state|N/A|
|*finishTime*|When AM un-registered or RMApp's end time in case of failure|N/A|
|*elapsedTime*|Time difference between app start and 
finish|finishTime-startTime|
|schedulingWaitTime/pendingTime|Time difference between app launch and start 
time to get scheduling wait time|launchTime-startTime|
|totalRunTime|Time difference between app launch and finish so that we get 
whole run time|finishTime-launchTime|

We have some of this fields which are marked bold and other proposed in this 
patch except *totalRunTime*. I think addition of *launchTime* makes sense. 
*pendingTime* was lil confusing as it was not clear what it was pending for.  I 
was also thinking *schedulingWaitTime* is more clear than pendingTime. If 
others feels pendingTime fine, i think i am also good, lets get this in :). I 
am looping [~rohithsharma] who worked in App Timeout feature if he has some 
more thoughts.

Please correct me and update if any definitions are not correct. By the way I 
have another major query though, during recovery how could we save 
*launchTime*. We cannot change this value after RM restart as APP may be 
already running. Recovery might need a relook with respect to launchTime.




> 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, YARN-7088.007.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: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to