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

IOException used in place of YARNException in CapacitySheduler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: capacity scheduler
    • Labels:
      None

      Description

      IOException used in place of YARNException in CapacityScheduler. As per YARNException Doc,

      /**
       * YarnException indicates exceptions from yarn servers. On the other hand,
       * IOExceptions indicates exceptions from RPC layer.
       */
      

      Below methods throws IOException but it is suppose to throw YarnException.

      CapacitySchedulerQueueManager#parseQueue <- initializeQueues <- CapacityScheduler#initializeQueues <- initScheduler <- serviceInit

        Attachments

        1. YARN-10006.001.patch
          2 kB
          Adam Antal
        2. YARN-10006.002.patch
          8 kB
          Adam Antal

          Activity

            People

            • Assignee:
              adam.antal Adam Antal
              Reporter:
              prabhujoseph Prabhu Joseph
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: