Toshihiro Suzuki created HDFS-15249:
---------------------------------------
Summary: ThrottledAsyncChecker is not thread-safe.
Key: HDFS-15249
URL: https://issues.apache.org/jira/browse/HDFS-15249
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Toshihiro Suzuki
Assignee: Toshihiro Suzuki
ThrottledAsyncChecker should be thread-safe because it can be used by multiple
threads when we have multiple namespaces.
*checksInProgress* and *completedChecks* are respectively HashMap and
WeakHashMap which are not tread-safe. So we need to put them in synchronized
block whenever we access them.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]