You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/08/27 22:38:52 UTC
[jira] [Created] (HBASE-9358) Possible invalid iterator in
ServerManager#processQueuedDeadServers()
Ted Yu created HBASE-9358:
-----------------------------
Summary: Possible invalid iterator in ServerManager#processQueuedDeadServers()
Key: HBASE-9358
URL: https://issues.apache.org/jira/browse/HBASE-9358
Project: HBase
Issue Type: Bug
Reporter: Ted Yu
serverIterator is used this way:
{code}
Iterator<ServerName> serverIterator = queuedDeadServers.iterator();
while (serverIterator.hasNext()) {
ServerName tmpServerName = serverIterator.next();
expireServer(tmpServerName);
serverIterator.remove();
{code}
expireServer() modifies Iterable "this.queuedDeadServers" which invalidates iterator "serverIterator"
Call to remove() is applied on invalid iterator "serverIterator"
--
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