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

Haibo Chen commented on YARN-9438:
----------------------------------

Thanks for the patch, [~jhung]. I have one question on the patch. AppLaunch 
time is saved in the state store synchronously in the RMAppImpl state 
transition when an attempt is launch. This will block the RM dispatcher thread, 
which may not be ideal. Do you think we can do it asynchronously instead?

> launchTime not written to state store for running applications
> --------------------------------------------------------------
>
>                 Key: YARN-9438
>                 URL: https://issues.apache.org/jira/browse/YARN-9438
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.10.0
>            Reporter: Jonathan Hung
>            Assignee: Jonathan Hung
>            Priority: Major
>              Labels: release-blocker
>         Attachments: YARN-9438-branch-2.001.patch, 
> YARN-9438-branch-2.002.patch, YARN-9438.001.patch, YARN-9438.002.patch, 
> YARN-9438.003.patch
>
>
> launchTime is only saved to state store after application finishes, so if 
> restart happens, any running applications will have launchTime set as -1 
> (since this is the default timestamp of the recovery event).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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

Reply via email to