hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xabriel J Collazo Mojica (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3877) YarnClientImpl.submitApplication swallows exceptions
Date Fri, 23 Sep 2016 00:18:20 GMT

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

Xabriel J Collazo Mojica commented on YARN-3877:
------------------------------------------------

Folks, I see that the {{InterruptedException}} is being wrapped by a {{YarnException}}. This
makes it cumbersome for the caller to interpret whether the Thread was interrupted. Can't
we just rethrow the original {{InterruptedException}}?

> 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, YARN-3877.04.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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message