You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/03/12 05:22:42 UTC
[jira] [Created] (HADOOP-10404) Some accesses to
DomainSocketWatcher#closed are not protected by lock
Ted Yu created HADOOP-10404:
-------------------------------
Summary: Some accesses to DomainSocketWatcher#closed are not protected by lock
Key: HADOOP-10404
URL: https://issues.apache.org/jira/browse/HADOOP-10404
Project: Hadoop Common
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
{code}
* Lock which protects toAdd, toRemove, and closed.
*/
private final ReentrantLock lock = new ReentrantLock();
{code}
There're two places, NotificationHandler.handle() and kick(), where access to closed is without holding lock.
--
This message was sent by Atlassian JIRA
(v6.2#6252)