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

Fair Scheduler will NPE if it hits IOException on queue assignment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • fairscheduler

    Description

          try {
            QueuePlacementPolicy placementPolicy = allocConf.getPlacementPolicy();
            queueName = placementPolicy.assignAppToQueue(queueName, user);
            if (queueName == null) {
              return null;
            }
            queue = queueMgr.getLeafQueue(queueName, true);
          } catch (IOException ex) {
            LOG.error("Error assigning app to queue, rejecting", ex);
          }
          
          if (rmApp != null) {
            rmApp.setQueue(queue.getName());
          } else {
            LOG.warn("Couldn't find RM app to set queue name on");
          }
      

      Attachments

        1. YARN-1501.patch
          1 kB
          haosdent

        Activity

          People

            haosdent@gmail.com haosdent
            sandyr Sandy Ryza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: