[
https://issues.apache.org/jira/browse/HADOOP-10501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969712#comment-13969712
]
Kihwal Lee commented on HADOOP-10501:
-------------------------------------
It should be okay as long as it is called after Server#start(). Adding
{{synchronized}} won't do much good, but won't hurt either.
> Server#getHandlers() accesses handlers without synchronization
> --------------------------------------------------------------
>
> Key: HADOOP-10501
> URL: https://issues.apache.org/jira/browse/HADOOP-10501
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Minor
>
> {code}
> Iterable<? extends Thread> getHandlers() {
> return Arrays.asList(handlers);
> }
> {code}
> All the other methods accessing handlers are synchronized methods.
--
This message was sent by Atlassian JIRA
(v6.2#6252)