Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2533

Remove needless synchronization on FSDataSet.getBlockFile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.0
    • 0.23.1, 1.2.0
    • datanode, performance
    • None
    • Reviewed

    Description

      HDFS-1148 discusses lock contention issues in FSDataset. It provides a more comprehensive fix, converting it all to RWLocks, etc. This JIRA is for one very specific fix which gives a decent performance improvement for TestParallelRead: getBlockFile() currently holds the lock which is completely unnecessary.

      Attachments

        1. hdfs-2533.txt
          0.9 kB
          Todd Lipcon
        2. hdfs-2533.txt
          3 kB
          Todd Lipcon
        3. HDFS-2533.branch-1.patch
          3 kB
          Brandon Li

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: