You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/08/11 13:08:00 UTC

[jira] [Created] (HDFS-16163) Avoid locking entire blockPinningFailures map

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org