[ 
https://issues.apache.org/jira/browse/HDFS-12479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169758#comment-16169758
 ] 

Huafeng Wang commented on HDFS-12479:
-------------------------------------

# In {{MultipleBlockingQueue}}, the underlying list is immutable so there will 
be no concurrent modification and lock here is not needed.
# In {{Coordinator}}, {{ConcurrentHashMap}} will have better performance than 
{{Collections.synchronizedMap}}.

> Some misuses of lock in DFSStripedOutputStream
> ----------------------------------------------
>
>                 Key: HDFS-12479
>                 URL: https://issues.apache.org/jira/browse/HDFS-12479
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Huafeng Wang
>            Assignee: Huafeng Wang
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to