hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nemo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-5508) Exception should be recorded as caught rather than thrown
Date Thu, 11 Aug 2016 02:45:20 GMT
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message