Viraj Jasani created HDFS-16163:
-----------------------------------

             Summary: Avoid locking entire blockPinningFailures map
                 Key: HDFS-16163
                 URL: https://issues.apache.org/jira/browse/HDFS-16163
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Viraj Jasani
            Assignee: Viraj Jasani


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to