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

ProportionalPreemptionalPolicy could use readLock over LeafQueue instead of synchronized block

    Details

      Description

      Currently in PCPP, synchronized (curQueue) is used in various places. Such instances could be replaced with a read lock. Thank you Jian He for pointing out the same as comment here

        Attachments

        1. YARN-5825.0002.patch
          13 kB
          Sunil G
        2. YARN-5825.0001.patch
          9 kB
          Sunil G

          Activity

            People

            • Assignee:
              sunilg Sunil G
              Reporter:
              sunilg Sunil G
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: