geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hitesh Khamesra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-1327) java.util.ConcurrentModificationException while updating log message
Date Tue, 10 May 2016 16:42:12 GMT

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

Hitesh Khamesra commented on GEODE-1327:
----------------------------------------

It seems, reference to set(unresponsiveMembers) further escaping in removeHealthyMembers call.
Here we spawn thread for each unresponsiveMembers and here set is not synchronized with parent
thread.

> java.util.ConcurrentModificationException while updating log message
> --------------------------------------------------------------------
>
>                 Key: GEODE-1327
>                 URL: https://issues.apache.org/jira/browse/GEODE-1327
>             Project: Geode
>          Issue Type: Bug
>          Components: logging
>            Reporter: Hitesh Khamesra
>
> [fatal 2016/04/28 22:25:59.123 PDT <Geode Membership View Creator> tid=0x1e] Uncaught
exception in thread Thread[Geode Membership View Creator,5,GemFire Membership]
> java.util.ConcurrentModificationException
> 	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
> 	at java.util.HashMap$KeyIterator.next(HashMap.java:1453)
> 	at com.gemstone.org.apache.logging.log4j.message.GemFireParameterizedMessage.recursiveDeepToString(GemFireParameterizedMessage.java:487)
> 	at com.gemstone.org.apache.logging.log4j.message.GemFireParameterizedMessage.deepToString(GemFireParameterizedMessage.java:374)
> 	at com.gemstone.org.apache.logging.log4j.message.GemFireParameterizedMessage.parseArguments(GemFireParameterizedMessage.java:165)
> 	at com.gemstone.org.apache.logging.log4j.message.GemFireParameterizedMessage.<init>(GemFireParameterizedMessage.java:122)
> 	at com.gemstone.org.apache.logging.log4j.message.GemFireParameterizedMessageFactory.newMessage(GemFireParameterizedMessageFactory.java:52)
> 	at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:1021)
> 	at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:980)
> 	at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:679)
> 	at com.gemstone.gemfire.distributed.internal.membership.gms.membership.GMSJoinLeave$ViewCreator.prepareAndSendView(GMSJoinLeave.java:2222)
> 	at com.gemstone.gemfire.distributed.internal.membership.gms.membership.GMSJoinLeave$ViewCreator.createAndSendView(GMSJoinLeave.java:2137)
> 	at com.gemstone.gemfire.distributed.internal.membership.gms.membership.GMSJoinLeave$ViewCreator.run(GMSJoinLeave.java:1955)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message