You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Naganarasimha G R (JIRA)" <ji...@apache.org> on 2016/08/18 09:31:20 UTC
[jira] [Resolved] (YARN-5508) Exception should be recorded as
caught rather than thrown
[ 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