Jeffrey Zhong created HBASE-9481: ------------------------------------ Summary: 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 Reporter: Jeffrey Zhong Assignee: Jeffrey Zhong
In integration tests, we found SSH get aborted as 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