[ 
https://issues.apache.org/jira/browse/YARN-5508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Naganarasimha G R updated YARN-5508:
------------------------------------
    Labels: easyfix easytest trivial  (was: easyfix easytest)

> Exception should be recorded as caught rather than thrown
> ---------------------------------------------------------
>
>                 Key: YARN-5508
>                 URL: https://issues.apache.org/jira/browse/YARN-5508
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Nemo Chen
>              Labels: easyfix, easytest, trivial
>
> Similar to the fix to HADOOP-657. In file:
> hadoop-rel-release-2.7.2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-sharedcachemanager/src/main/java/org/apache/hadoop/yarn/server/sharedcachemanager/CleanerTask.java
> In line 221, the exception was caught rather than thrown.
> {code: borderStyle=solid}
> try {
>         store.cleanResourceReferences(key);
> } catch (YarnException e) {
>         LOG.error("Exception thrown while removing dead appIds.", e);
>    }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to