[
https://issues.apache.org/jira/browse/YARN-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963959#comment-13963959
]
Wangda Tan commented on YARN-1917:
----------------------------------
My basic thinking is we can leverage existing implementation in
UnmanagedAMLauncher.monitorApplication, it should be enough for many use cases.
The method could be, YarnClient.waitForCompletion(ApplicationId appId).
Appreciate your comments :)
> Add "waitForCompletion" interface to YarnClient
> -----------------------------------------------
>
> Key: YARN-1917
> URL: https://issues.apache.org/jira/browse/YARN-1917
> Project: Hadoop YARN
> Issue Type: New Feature
> Components: client
> Affects Versions: 2.4.0
> Reporter: Wangda Tan
>
> Currently, YARN dosen't have this method. Users needs to write
> implementations like UnmanagedAMLauncher.monitorApplication or
> mapreduce.Job.monitorAndPrintJob on their own. This feature should be helpful
> to end users.
--
This message was sent by Atlassian JIRA
(v6.2#6252)