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

Fix race condition of User object acquisitions

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      UserManager is highly susceptible of removing users that are queried later. This race condition produces NPE similar to YARN-10934. A non-exhaustive list of these locations are:

      - LeafQueue.getTotalPendingResourcesConsideringUserLimit

      - UsersManager.computeUserLimit

       

      Attachments

        Activity

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

          People

            gandras Andras Gyori Assign to me
            gandras Andras Gyori
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 1h 20m
              1h 20m

              Slack

                Issue deployment