[
https://issues.apache.org/jira/browse/YARN-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran resolved YARN-794.
---------------------------------
Resolution: Duplicate
Fix Version/s: 3.0.0
2.1.0-beta
> YarnClientImpl.submitApplication() to add a timeout
> ---------------------------------------------------
>
> Key: YARN-794
> URL: https://issues.apache.org/jira/browse/YARN-794
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: client
> Affects Versions: 3.0.0, 2.1.0-beta
> Reporter: Steve Loughran
> Priority: Minor
> Fix For: 2.1.0-beta, 3.0.0
>
>
> {{YarnClientImpl.submitApplication()}} can spin forever waiting for the RM to
> accept the submission, ignoring interrupts on the sleep.
> # A timeout allows client applications to recognise and react to a failure of
> the RM to accept work in a timely manner.
> # The interrupt exception could be converted to an {{InterruptedIOException}}
> and raised within the current method signature
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira