You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/09/10 02:11:52 UTC

[jira] [Commented] (HBASE-9481) Servershutdown handler get aborted with ConcurrentModificationException

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

Ted Yu commented on HBASE-9481:
-------------------------------

lgtm.

Construction of regionsToOffline can be done lazily.
                
> Servershutdown handler get aborted with ConcurrentModificationException
> -----------------------------------------------------------------------
>
>                 Key: HBASE-9481
>                 URL: https://issues.apache.org/jira/browse/HBASE-9481
>             Project: HBase
>          Issue Type: Bug
>          Components: MTTR
>    Affects Versions: 0.96.0
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>         Attachments: hbase-9481.patch
>
>
> In integration tests, we found SSH got aborted with following stack trace:
> {code}
> 13/09/07 18:10:00 ERROR executor.EventHandler: Caught throwable while processing event M_SERVER_SHUTDOWN
> java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
>         at java.util.HashMap$ValueIterator.next(HashMap.java:822)
>         at org.apache.hadoop.hbase.master.RegionStates.serverOffline(RegionStates.java:378)
>         at org.apache.hadoop.hbase.master.AssignmentManager.processServerShutdown(AssignmentManager.java:3143)
>         at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.process(ServerShutdownHandler.java:207)
>         at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:131)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira