You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Eric Badger (JIRA)" <ji...@apache.org> on 2016/07/13 15:09:20 UTC
[jira] [Created] (HDFS-10617) PendingReplicationBlocks.size()
should be synchronized
Eric Badger created HDFS-10617:
----------------------------------
Summary: PendingReplicationBlocks.size() should be synchronized
Key: HDFS-10617
URL: https://issues.apache.org/jira/browse/HDFS-10617
Project: Hadoop HDFS
Issue Type: Bug
Affects Versions: 0.22.0
Reporter: Eric Badger
Assignee: Eric Badger
pendingReplications is a HashMap, which is not a thread-safe data structure. Therefore, the size() function should be synchronized just like the rest of the member functions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org