Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3681

capacity scheduler LeafQueues calculate used capacity wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.23.0
    • 0.23.1
    • mrv2
    • None

    Description

      In the Capacity scheduler if you configure the queues to be hierarchical where you have root -> parent queue -> leaf queue, the leaf queue doesn't calculate the used capacity properly. It seems to be using the entire cluster memory rather then its parents memory capacity.

      In updateResource in LeafQueue:
      setUsedCapacity(
      usedResources.getMemory() / (clusterResource.getMemory() * capacity));

      I think the clusterResource.getMemory() should be something like getParentsMemory().

      Attachments

        1. MAPREDUCE-3681.patch
          15 kB
          Thomas Graves
        2. MAPREDUCE-3681.patch
          15 kB
          Arun Murthy
        3. MAPREDUCE-3681.patch
          13 kB
          Arun Murthy

        Activity

          People

            acmurthy Arun Murthy
            tgraves Thomas Graves
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: