[
https://issues.apache.org/jira/browse/YARN-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15512004#comment-15512004
]
Ying Zhang commented on YARN-3877:
----------------------------------
Hi [~varun_saxena] and [[email protected]], thanks for making the patch. We
have encountered the same issue. Beside YarnClientImpl.submitApplication,
YarnClientImpl.killApplication is having the same issue. Do we still intend to
get this in?
> YarnClientImpl.submitApplication swallows exceptions
> ----------------------------------------------------
>
> Key: YARN-3877
> URL: https://issues.apache.org/jira/browse/YARN-3877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: client
> Affects Versions: 2.7.2
> Reporter: Steve Loughran
> Assignee: Varun Saxena
> Priority: Minor
> Attachments: YARN-3877.01.patch, YARN-3877.02.patch,
> YARN-3877.03.patch
>
>
> When {{YarnClientImpl.submitApplication}} spins waiting for the application
> to be accepted, any interruption during its Sleep() calls are logged and
> swallowed.
> this makes it hard to interrupt the thread during shutdown. Really it should
> throw some form of exception and let the caller deal with it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]