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

Remove scheduler lock in FSAppAttempt.getWeight()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0, 3.0.1
    • fairscheduler
    • None
    • Reviewed

    Description

      With the change from YARN-7414 a new FindBugs warning was introduced.
      The code that was moved from the FairScheduler to the FSAppAttempt can also be simplified by removing the unneeded locking.

      Attachments

        1. YARN-7513.001.patch
          1 kB
          wilfreds#1

        Issue Links

          Activity

            People

              wilfreds Wilfred Spiegelenburg
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: