Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5508

Exception should be recorded as caught rather than thrown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      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.

      try {
              store.cleanResourceReferences(key);
      } catch (YarnException e) {
              LOG.error("Exception thrown while removing dead appIds.", e);
         }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chenfsd Nemo Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: