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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • scheduler

    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

              zxu Zhihai Xu
              zxu Zhihai Xu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: