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

findbugs warning:Inconsistent synchronization of org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.allocConf

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: scheduler
    • Labels:

      Description

      findbugs warning:Inconsistent synchronization of org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.allocConf
      The findbugs warning found out two Unsynchronized access:
      1. FairScheduler.getPlanQueues.
      It looks like we should add lock at FairScheduler.getPlanQueues.
      Because getPlanQueues will be called by AbstractReservationSystem.reinitialize.
      2. FairScheduler.getAllocationConfiguration, which looks like ok without lock.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              zxu Zhihai Xu
              Reporter:
              zxu Zhihai Xu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment