Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-4999

Ambari should allow at least 3 yarn containers on a one-node installation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • ambari-web
    • None

    Description

      Ambari UI calculates ram-per-container as a fraction.
      YARN scheduler's minimum memory is Math.round(ram-per-container), while the maximum memory is Math.round(number-of-containers * ram-percontainer).

      The problem is that for some fractional values, 3*Math.round(fraction) > Math.round(3*fraction). (Ex: Take value 1.7). Because of that less number of containers can actually be started, as the value slightly goes over the maximum.

      Attachments

        1. AMBARI-4999.patch
          2 kB
          Srimanth Gunturi

        Activity

          People

            srimanth.gunturi Srimanth Gunturi
            srimanth.gunturi Srimanth Gunturi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: