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

Queue path is recomputed from scratch on every allocation

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      As part of the discussion in YARN-6901 I noticed that we are recomputing a queue's path for every allocation. Currently getting the queue's path involves calling getQueuePath on the parent then building onto that string with the basename of the queue. In turn the parent's getQueuePath method does the same, so we end up spending time recomputing a string that will never change until a reconfiguration.

      Ideally the queue path should be computed once during queue initialization rather than on-demand.

      Attachments

        1. YARN-6917.002.patch
          4 kB
          Eric Payne
        2. YARN-6917.001.patch
          4 kB
          Eric Payne

        Issue Links

          Activity

            People

              epayne Eric Payne
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: