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

AM not launched when a single vcore is available on the cluster

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: fairscheduler
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In method canRunAppAM(), we will get a zero vcore if there is only one vcores, and the maxAMShare is between 0 and 1 because Resources#multiply round down double to a integer by default. This potentially happens frequently when assigning a container to AM just after preemption happens since it is more likely there is only one vcore on the cluster just after preemption.

        Attachments

        1. YARN-6264.006.patch
          8 kB
          Yufei Gu
        2. YARN-6264.005.patch
          4 kB
          Yufei Gu
        3. YARN-6264.004.patch
          4 kB
          Yufei Gu
        4. YARN-6264.003.patch
          3 kB
          Yufei Gu
        5. YARN-6264.002.patch
          4 kB
          Yufei Gu
        6. YARN-6264.001.patch
          5 kB
          Yufei Gu

          Activity

            People

            • Assignee:
              yufeigu Yufei Gu
              Reporter:
              yufeigu Yufei Gu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: