You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Eric Shu (Jira)" <ji...@apache.org> on 2019/12/13 19:14:00 UTC

[jira] [Created] (GEODE-7576) BootstrappingFunction should be executed after cache is fully created

Eric Shu created GEODE-7576:
-------------------------------

             Summary: BootstrappingFunction should be executed after cache is fully created
                 Key: GEODE-7576
                 URL: https://issues.apache.org/jira/browse/GEODE-7576
             Project: Geode
          Issue Type: Bug
          Components: functions
            Reporter: Eric Shu


The tomcat client server session module test failed:

[warn 2019/12/12 20:57:59.795 PST <ThreadsMonitor> tid=0x10] Thread <39> (0x27) that was executed at <12 Dec 2019 20:55:00 PST> has been stuck for <178.813 seconds> and number of thread monitor iteration <2>
Thread Name <Function Execution Processor3> state <WAITING>
Waiting on <ja...@3f580d54>
Owned By <main> with ID <1>
Executor Group <FunctionExecutionPooledExecutor>
Monitored metric <ResourceManagerStats.numThreadsStuck>
Thread Stack:
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lockInterruptibly(ReentrantReadWriteLock.java:772)
org.apache.geode.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:116)
org.apache.geode.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2065)
org.apache.geode.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:606)
org.apache.geode.distributed.internal.locks.DLockService.init(DLockService.java:1915)
org.apache.geode.distributed.internal.locks.DLockService.basicCreate(DLockService.java:1892)
org.apache.geode.distributed.internal.locks.DLockService.create(DLockService.java:2710)
org.apache.geode.internal.cache.GemFireCacheImpl.getPartitionedRegionLockService(GemFireCacheImpl.java:1938)
org.apache.geode.internal.cache.DistributedRegion.<init>(DistributedRegion.java:245)
org.apache.geode.internal.cache.GemFireCacheImpl.createVMRegion(GemFireCacheImpl.java:3009)
org.apache.geode.modules.util.CreateRegionFunction.createRegionConfigurationMetadataRegion(CreateRegionFunction.java:273)
org.apache.geode.modules.util.CreateRegionFunction.<init>(CreateRegionFunction.java:63)
org.apache.geode.modules.util.BootstrappingFunction.registerFunctions(BootstrappingFunction.java:124)
org.apache.geode.modules.util.BootstrappingFunction.execute(BootstrappingFunction.java:67)
org.apache.geode.internal.cache.MemberFunctionStreamingMessage.process(MemberFunctionStreamingMessage.java:193)
org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:365)
org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:429)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
org.apache.geode.distributed.internal.ClusterDistributionManager.runUntilShutdown(ClusterDistributionManager.java:961)
org.apache.geode.distributed.internal.ClusterDistributionManager.doFunctionExecutionThread(ClusterDistributionManager.java:815)
org.apache.geode.distributed.internal.ClusterDistributionManager$$Lambda$52/1112527632.invoke(Unknown Source)
org.apache.geode.internal.logging.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:121)
org.apache.geode.internal.logging.LoggingThreadFactory$$Lambda$42/973936431.run(Unknown Source)
java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)