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

Deadlock in capacity scheduler leaf queue and parent queue for getQueueInfo and completedContainer call

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      getQueueInfo in parentQueue will call child.getQueueInfo().
      This will try acquire the leaf queue lock over parent queue lock.

      Now at same time if a completedContainer call comes and acquired LeafQueue lock and it will wait for ParentQueue's completedConatiner call.

      This lock usage is not in synchronous and can lead to deadlock.

      With JCarder, this is showing as a potential deadlock scenario.

        Attachments

        1. YARN-1398-20140220.txt
          3 kB
          Vinod Kumar Vavilapalli

          Issue Links

            Activity

              People

              • Assignee:
                vinodkv Vinod Kumar Vavilapalli
                Reporter:
                sunilg Sunil Govindan
              • Votes:
                0 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: