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

ProportionalPreemptionalPolicy could use readLock over LeafQueue instead of synchronized block

    XMLWordPrintableJSON

Details

    Description

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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: