You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2019/02/27 18:40:00 UTC
[jira] [Resolved] (GEODE-6359) ConcurrentModificationException in
shutdown due to passing a collection to logger
[ https://issues.apache.org/jira/browse/GEODE-6359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Schuchardt resolved GEODE-6359.
-------------------------------------
Resolution: Cannot Reproduce
Fix Version/s: 1.9.0
This was hit in a PR test run with a SHA that I can't find in my repository. I made changes earlier this month to stop GMSHealthMonitor and GMSJoinLeave from modifying the membership view - that has likely fixed this problem. Those changes are in the release/1.9.0 branch.
> ConcurrentModificationException in shutdown due to passing a collection to logger
> ---------------------------------------------------------------------------------
>
> Key: GEODE-6359
> URL: https://issues.apache.org/jira/browse/GEODE-6359
> Project: Geode
> Issue Type: Bug
> Reporter: Galen O'Sullivan
> Priority: Major
> Fix For: 1.9.0
>
>
> This occurred in a PR build, but appears unrelated from the changed code. It seems to be due to passing a collection into a logger, and that collection being modified while the logger is logging it.
> [https://concourse.apachegeode-ci.info/builds/35340]
> {noformat}
> org.apache.geode.internal.cache.PartitionedRegionOffHeapEvictionDUnitTest > testEvictionValidationForLRUEntry_DatastoreFirst FAILED
>
> java.lang.AssertionError: Suspicious strings were written to the log during this run.
>
> Fix the strings or use IgnoredException.addIgnoredException to ignore.
>
> -----------------------------------------------------------------------
>
> Found suspect string in log4j at line 2758
>
>
> [fatal 2019/02/04 22:06:06.494 UTC <Pooled High Priority Message Processor 2> tid=254] Uncaught exception processing ShutdownMessage DM 172.17.0.23(369)<v9>:41004 has shutdown
>
> java.util.ConcurrentModificationException
>
> at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
>
> at java.util.HashMap$KeyIterator.next(HashMap.java:1466)
>
> at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessage.recursiveDeepToString(GemFireParameterizedMessage.java:508)
>
> at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessage.deepToString(GemFireParameterizedMessage.java:393)
>
> at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessage.parseArguments(GemFireParameterizedMessage.java:178)
>
> at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessage.<init>(GemFireParameterizedMessage.java:131)
>
> at org.apache.geode.internal.logging.log4j.message.GemFireParameterizedMessageFactory.newMessage(GemFireParameterizedMessageFactory.java:57)
>
> at org.apache.logging.log4j.message.AbstractMessageFactory.newMessage(AbstractMessageFactory.java:91)
>
> at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2036)
>
> at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1914)
>
> at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1450)
>
> at org.apache.geode.distributed.internal.membership.gms.membership.GMSJoinLeave.processLeaveRequest(GMSJoinLeave.java:614)
>
> at org.apache.geode.distributed.internal.membership.gms.membership.GMSJoinLeave.memberShutdown(GMSJoinLeave.java:1717)
>
> at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.shutdownMessageReceived(GMSMembershipManager.java:1478)
>
> at org.apache.geode.distributed.internal.ClusterDistributionManager.shutdownMessageReceived(ClusterDistributionManager.java:2642)
>
> at org.apache.geode.distributed.internal.ShutdownMessage.process(ShutdownMessage.java:90)
>
> at org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:367)
>
> at org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:433)
>
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>
> at org.apache.geode.distributed.internal.ClusterDistributionManager.runUntilShutdown(ClusterDistributionManager.java:956)
>
> at org.apache.geode.distributed.internal.ClusterDistributionManager.doHighPriorityThread(ClusterDistributionManager.java:834)
>
> at org.apache.geode.internal.logging.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:121)
>
> at java.lang.Thread.run(Thread.java:748)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)