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

Jimmy Xiang commented on HBASE-10745:
-------------------------------------

Yes, all other accesses are synchronized. Integrated into 0.94, 0.96, 0.98, and 
trunk. Thanks.

> Access ShutdownHook#fsShutdownHooks should be synchronized
> ----------------------------------------------------------
>
>                 Key: HBASE-10745
>                 URL: https://issues.apache.org/jira/browse/HBASE-10745
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>             Fix For: 0.96.2, 0.98.1, 0.99.0, 0.94.18
>
>         Attachments: hbase-10745.patch
>
>
> Sometimes, I got weird RuntimeException. It turns out that 
> ShutdownHook#fsShutdownHooks is a HashMap. We should synchronize its access.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to