You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (Jira)" <ji...@apache.org> on 2019/10/23 16:47:00 UTC

[jira] [Resolved] (GEODE-7314) CreateMappingCommandDUnitTest.createMappingWithoutPdxNameFails failed with suspect string

     [ https://issues.apache.org/jira/browse/GEODE-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kirk Lund resolved GEODE-7314.
------------------------------
    Fix Version/s: 1.11.0
       Resolution: Fixed

Fixed by this commit:
{noformat}
commit f0c96db73263bb1b3cb04558f2a720d70f43421f (HEAD -> develop, origin/develop, origin/HEAD)
Author: Kirk Lund <kl...@apache.org>
Date:   Wed Oct 23 09:42:00 2019 -0700

    GEODE-7330: Prevent RegionDestroyedException in FederatingManager (#4193)
    
    * GEODE-7330: Prevent RegionDestroyedException in FederatingManager
    
    Cleanup management classes:
    * Reduce method and field visibility as much as possible
    * Remove unnecessary uses of this
    * Reorder fields and methods based on visibility and other modifiers
    * Use @VisibleForTesting annotation
    * Fixup formatting and variable names
    
    Make all FederatingManager fields final:
    * Remove field setters for tests
    * Introduce FederatingManagerFactory
    * Add FederatingManagerFactory system property for tests to
      SystemManagementService
    * Inject all FederatingManager fields via constructor
    * Use Geode APIs in MBeanFederationErrorPathDUnitTest
    
    Rename MBeanFederationErrorHandlingDistributedTest:
    * Rename MBeanFederationErrorPathDUnitTest as
      MBeanFederationErrorHandlingDistributedTest
{noformat}

> CreateMappingCommandDUnitTest.createMappingWithoutPdxNameFails failed with suspect string 
> ------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7314
>                 URL: https://issues.apache.org/jira/browse/GEODE-7314
>             Project: Geode
>          Issue Type: Bug
>          Components: jdbc
>            Reporter: Eric Shu
>            Priority: Major
>             Fix For: 1.11.0
>
>
>     org.apache.geode.connectors.jdbc.internal.cli.CreateMappingCommandDUnitTest > createMappingWithoutPdxNameFails 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 3456
>     [fatal 2019/10/17 11:15:16.033 GMT <FederatingManager8> tid=308] Uncaught exception in thread Thread[FederatingManager8,5,RMI Runtime]
>     org.apache.geode.cache.RegionDestroyedException: org.apache.geode.internal.cache.DistributedRegion[path='/_monitoringRegion_172.17.0.17<v3>41003';scope=DISTRIBUTED_NO_ACK';dataPolicy=REPLICATE]
>         at org.apache.geode.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:7293)
>         at org.apache.geode.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2748)
>         at org.apache.geode.internal.cache.LocalRegion.entrySet(LocalRegion.java:1905)
>         at org.apache.geode.internal.cache.LocalRegion.entrySet(LocalRegion.java:8328)
>         at org.apache.geode.management.internal.MBeanProxyFactory.removeAllProxies(MBeanProxyFactory.java:153)
>         at org.apache.geode.management.internal.FederatingManager.removeMemberArtifacts(FederatingManager.java:215)
>         at org.apache.geode.management.internal.FederatingManager.access$000(FederatingManager.java:67)
>         at org.apache.geode.management.internal.FederatingManager$RemoveMemberTask.run(FederatingManager.java:564)
>         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base/java.lang.Thread.run(Thread.java:834)
> Run location:
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=  Test Results URI =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> http://files.apachegeode-ci.info/builds/apache-develop-main/1.11.0-SNAPSHOT.0220/test-results/distributedTest/1571317875/
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



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