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

Avoid locking entire blockPinningFailures map

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      In order for mover to exclude pinned blocks in subsequent iteration, we try to put pinned blocks in a map of blockIds to set of Datanode sources. However, while updating an entry of this map, we don't need to lock the entire map. We can use fine-grained concurrency here.

      Attachments

        Activity

          People

            vjasani Viraj Jasani
            vjasani Viraj Jasani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m