[ https://issues.apache.org/jira/browse/GEODE-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14725669#comment-14725669 ]
ASF subversion and git services commented on GEODE-233: ------------------------------------------------------- Commit e04075034a7944acdb49478c01b27d5f956e72ba in incubator-geode's branch refs/heads/feature/GEODE-77 from [~upthewaterspout] [ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=e040750 ] GEODE-233: Don't log a warning about a RegionDestroyedException The ParallelBucketOperator was logging a RegionDestroyedException during shutdown on region destruction. This is unnecessary noise from the background thread. The actual user thread will get this exception because PartitionedRegionRebalanceOperation checks for a destroyed region after each rebalancing step. > warning about RegionDestroyedException due to GEODE-74 > ------------------------------------------------------ > > Key: GEODE-233 > URL: https://issues.apache.org/jira/browse/GEODE-233 > Project: Geode > Issue Type: Bug > Reporter: Dan Smith > Assignee: Dan Smith > > We hit this in a nightly build. I think the problem is that some code is > executing a in a background thread that used to be in the foreground, and > that thread is now catching a logging a RegionDestroyedException > https://builds.apache.org/job/Geode-nightly/189/testReport/junit/com.gemstone.gemfire.internal.cache/PartitionedRegionAsSubRegionDUnitTest/testSubRegionLocalDestroyRegion/ > {noformat} > [vm_0][warn 2015/08/19 02:25:41.842 EDT <Pooled Waiting Message Processor 0> > tid=0x2204] Task failed with exception > [vm_0]com.gemstone.gemfire.cache.RegionDestroyedException: Partitioned Region > @2865d6c9 [path='/PARENT_REGION/CHILD_REGION/PR'; dataPolicy=PARTITION; > prId=213; isDestroyed=true; isClosed=false; retryTimeout=3600000; > serialNumber=10463; hdfsStoreName=null; hdfsWriteOnly=false; partition > attributes=PartitionAttributes@875715616[redundantCopies=1;localMaxMemory=200;totalMaxMemory=2147483647;totalNumBuckets=113;partitionResolver=null;colocatedWith=null;recoveryDelay=-1;startupRecoveryDelay=0;FixedPartitionAttributes=null;partitionListeners=null]; > on VM lucene1-us-west(5809)<v738>:48057] > [vm_0] at > com.gemstone.gemfire.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:8132) > [vm_0] at > com.gemstone.gemfire.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2977) > [vm_0] at > com.gemstone.gemfire.internal.cache.PartitionedRegionDataStore.grabFreeBucket(PartitionedRegionDataStore.java:558) > [vm_0] at > com.gemstone.gemfire.internal.cache.PartitionedRegionDataStore.grabBucket(PartitionedRegionDataStore.java:3013) > [vm_0] at > com.gemstone.gemfire.internal.cache.PRHARedundancyProvider.createBackupBucketOnMember(PRHARedundancyProvider.java:1140) > [vm_0] at > com.gemstone.gemfire.internal.cache.partitioned.PartitionedRegionRebalanceOp.createRedundantBucketForRegion(PartitionedRegionRebalanceOp.java:493) > [vm_0] at > com.gemstone.gemfire.internal.cache.partitioned.PartitionedRegionRebalanceOp$BucketOperatorImpl.createRedundantBucket(PartitionedRegionRebalanceOp.java:653) > [vm_0] at > com.gemstone.gemfire.internal.cache.partitioned.PartitionedRegionRebalanceOp$BucketOperatorWrapper.createRedundantBucket(PartitionedRegionRebalanceOp.java:751) > [vm_0] at > com.gemstone.gemfire.internal.cache.partitioned.rebalance.ParallelBucketOperator$1.run(ParallelBucketOperator.java:70) > [vm_0] at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > [vm_0] at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > [vm_0] at > com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:692) > [vm_0] at > com.gemstone.gemfire.distributed.internal.DistributionManager$6$1.run(DistributionManager.java:1029) > [vm_0] at java.lang.Thread.run(Thread.java:745) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)