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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.2.0
    • 2.4.0
    • resourcemanager
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vinodkv Vinod Kumar Vavilapalli
            sunilg Sunil G
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment