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 "Nemo Chen (JIRA)" <ji...@apache.org> on 2016/08/11 02:45:20 UTC
[jira] [Created] (YARN-5508) Exception should be recorded as caught
rather than thrown
Nemo Chen created YARN-5508:
-------------------------------
Summary: 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
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