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

Need to have a way to turn off GPU auto-discovery in GpuDiscoverer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      GpuDiscoverer.getGpusUsableByYarn either parses the user-defined GPU devices or should have the value 'auto' (from property: yarn.nodemanager.resource-plugins.gpu.allowed-gpu-devices)
      In some circumstances, users would want to exclude a node from scheduling, so they should have an option to turn off auto-discovery.
      It's straightforward that this is possible by removing the GPU resource-plugin from YARN's config along with GPU-related config in container-executor.cfg, but doing that with a dedicated value for yarn.nodemanager.resource-plugins.gpu.allowed-gpu-devices is a more lightweight approach.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                snemeth Szilard Nemeth
                Reporter:
                snemeth Szilard Nemeth
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: