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

potential deadlock of CapacityScheduler between decrease container and assign containers

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      In CapacityScheduler.allocate() , first get FiCaSchedulerApp sync lock, and may be get CapacityScheduler's sync lock in decreaseContainer()
      In scheduler thread, first get CapacityScheduler's sync lock in allocateContainersToNode(), and may get FiCaSchedulerApp sync lock in FicaSchedulerApp.assignContainers().

      Attachments

        1. YARN-4519.1.patch
          14 kB
          MENG DING
        2. YARN-4519.2.patch
          14 kB
          MENG DING
        3. YARN-4519.3.patch
          43 kB
          MENG DING

        Issue Links

          Activity

            People

              mding MENG DING
              sandflee sandflee
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: