hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-5508) Exception should be recorded as caught rather than thrown
Date Thu, 18 Aug 2016 09:31:20 GMT

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

Naganarasimha G R resolved YARN-5508.
-------------------------------------
    Resolution: Duplicate

YARN-5507 supercedes this issue

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


Mime
View raw message