[jira] [Updated] (GEODE-4990) Race Condition When Using Cluster Configuration Service
[ https://issues.apache.org/jira/browse/GEODE-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Barbara Pruijn updated GEODE-4990: -- Fix Version/s: (was: 1.6.0) 1.7.0 > Race Condition When Using Cluster Configuration Service > --- > > Key: GEODE-4990 > URL: https://issues.apache.org/jira/browse/GEODE-4990 > Project: Geode > Issue Type: Bug > Components: configuration, locator >Affects Versions: 1.4.0 >Reporter: Juan José Ramos Cassella >Assignee: Juan José Ramos Cassella >Priority: Major > Labels: pull-request-available > Fix For: 1.7.0 > > Time Spent: 3h 50m > Remaining Estimate: 0h > > There's a small window of time on which the locator > ({{enable-cluster-configuration=true}}) is receiving TCP requests from > starting up servers ({{use-cluster-configuration=true}}) but the cluster > configuration service is not yet fully loaded, because of this the servers > fail to startup and throw the following exception: > {noformat} > Exception in thread "main" org.apache.geode.cache.execute.FunctionException: > java.lang.NullPointerException > at > org.apache.geode.internal.cache.execute.FunctionStreamingResultCollector.getResult(FunctionStreamingResultCollector.java:232) > at > org.apache.geode.internal.cache.ClusterConfigurationLoader.requestConfigurationFromLocators(ClusterConfigurationLoader.java:285) > at > org.apache.geode.internal.cache.GemFireCacheImpl.requestSharedConfiguration(GemFireCacheImpl.java:1036) > at > org.apache.geode.internal.cache.GemFireCacheImpl.(GemFireCacheImpl.java:835) > at > org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:775) > at > org.apache.geode.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:764) > at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:175) > at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:222) > at > org.apache.geode.distributed.internal.DefaultServerLauncherCacheProvider.createCache(DefaultServerLauncherCacheProvider.java:52) > at > org.apache.geode.distributed.ServerLauncher.createCache(ServerLauncher.java:844) > at > org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:762) > at > org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:692) > at > org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:226) > Caused by: java.lang.NullPointerException > at > org.apache.geode.management.internal.configuration.functions.GetClusterConfigurationFunction.execute(GetClusterConfigurationFunction.java:55) > at > org.apache.geode.internal.cache.MemberFunctionStreamingMessage.process(MemberFunctionStreamingMessage.java:186) > at > org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:382) > at > org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:448) > 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.DistributionManager.runUntilShutdown(DistributionManager.java:1099) > at > org.apache.geode.distributed.internal.DistributionManager.access$000(DistributionManager.java:108) > at > org.apache.geode.distributed.internal.DistributionManager$9$1.run(DistributionManager.java:970) > at java.lang.Thread.run(Thread.java:748) > {noformat} > The logs from the locator, when using {{log-level=fine}} show the following: > {noformat} > [fine 2018/04/03 15:24:40.501 IST locator1 > tid=0x51] Exception occurred on remote member while executing Function: > org.apache.geode.management.internal.configuration.functions.GetClusterConfigurationFunction > java.lang.NullPointerException > at > org.apache.geode.management.internal.configuration.functions.GetClusterConfigurationFunction.execute(GetClusterConfigurationFunction.java:55) > at > org.apache.geode.internal.cache.MemberFunctionStreamingMessage.process(MemberFunctionStreamingMessage.java:186) > at > org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:382) > at > org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:448) > 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.DistributionManager.runUntilShutdown(DistributionManager.java:1099) > at >
[jira] [Updated] (GEODE-4990) Race Condition When Using Cluster Configuration Service
[ https://issues.apache.org/jira/browse/GEODE-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated GEODE-4990: -- Labels: pull-request-available (was: ) > Race Condition When Using Cluster Configuration Service > --- > > Key: GEODE-4990 > URL: https://issues.apache.org/jira/browse/GEODE-4990 > Project: Geode > Issue Type: Bug > Components: configuration, locator >Affects Versions: 1.4.0 >Reporter: Juan José Ramos Cassella >Assignee: Juan José Ramos Cassella >Priority: Major > Labels: pull-request-available > > There's a small window of time on which the locator > ({{enable-cluster-configuration=true}}) is receiving TCP requests from > starting up servers ({{use-cluster-configuration=true}}) but the cluster > configuration service is not yet fully loaded, because of this the servers > fail to startup and throw the following exception: > {noformat} > Exception in thread "main" org.apache.geode.cache.execute.FunctionException: > java.lang.NullPointerException > at > org.apache.geode.internal.cache.execute.FunctionStreamingResultCollector.getResult(FunctionStreamingResultCollector.java:232) > at > org.apache.geode.internal.cache.ClusterConfigurationLoader.requestConfigurationFromLocators(ClusterConfigurationLoader.java:285) > at > org.apache.geode.internal.cache.GemFireCacheImpl.requestSharedConfiguration(GemFireCacheImpl.java:1036) > at > org.apache.geode.internal.cache.GemFireCacheImpl.(GemFireCacheImpl.java:835) > at > org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:775) > at > org.apache.geode.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:764) > at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:175) > at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:222) > at > org.apache.geode.distributed.internal.DefaultServerLauncherCacheProvider.createCache(DefaultServerLauncherCacheProvider.java:52) > at > org.apache.geode.distributed.ServerLauncher.createCache(ServerLauncher.java:844) > at > org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:762) > at > org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:692) > at > org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:226) > Caused by: java.lang.NullPointerException > at > org.apache.geode.management.internal.configuration.functions.GetClusterConfigurationFunction.execute(GetClusterConfigurationFunction.java:55) > at > org.apache.geode.internal.cache.MemberFunctionStreamingMessage.process(MemberFunctionStreamingMessage.java:186) > at > org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:382) > at > org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:448) > 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.DistributionManager.runUntilShutdown(DistributionManager.java:1099) > at > org.apache.geode.distributed.internal.DistributionManager.access$000(DistributionManager.java:108) > at > org.apache.geode.distributed.internal.DistributionManager$9$1.run(DistributionManager.java:970) > at java.lang.Thread.run(Thread.java:748) > {noformat} > The logs from the locator, when using {{log-level=fine}} show the following: > {noformat} > [fine 2018/04/03 15:24:40.501 IST locator1 > tid=0x51] Exception occurred on remote member while executing Function: > org.apache.geode.management.internal.configuration.functions.GetClusterConfigurationFunction > java.lang.NullPointerException > at > org.apache.geode.management.internal.configuration.functions.GetClusterConfigurationFunction.execute(GetClusterConfigurationFunction.java:55) > at > org.apache.geode.internal.cache.MemberFunctionStreamingMessage.process(MemberFunctionStreamingMessage.java:186) > at > org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:382) > at > org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:448) > 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.DistributionManager.runUntilShutdown(DistributionManager.java:1099) > at > org.apache.geode.distributed.internal.DistributionManager.access$000(DistributionManager.java:108) >
[jira] [Updated] (GEODE-4990) Race Condition When Using Cluster Configuration Service
[ https://issues.apache.org/jira/browse/GEODE-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Barbara Pruijn updated GEODE-4990: -- Affects Version/s: 1.4.0 > Race Condition When Using Cluster Configuration Service > --- > > Key: GEODE-4990 > URL: https://issues.apache.org/jira/browse/GEODE-4990 > Project: Geode > Issue Type: Bug > Components: configuration, locator >Affects Versions: 1.4.0 >Reporter: Juan José Ramos Cassella >Assignee: Juan José Ramos Cassella >Priority: Major > > There's a small window of time on which the locator > ({{enable-cluster-configuration=true}}) is receiving TCP requests from > starting up servers ({{use-cluster-configuration=true}}) but the cluster > configuration service is not yet fully loaded, because of this the servers > fail to startup and throw the following exception: > {noformat} > Exception in thread "main" org.apache.geode.cache.execute.FunctionException: > java.lang.NullPointerException > at > org.apache.geode.internal.cache.execute.FunctionStreamingResultCollector.getResult(FunctionStreamingResultCollector.java:232) > at > org.apache.geode.internal.cache.ClusterConfigurationLoader.requestConfigurationFromLocators(ClusterConfigurationLoader.java:285) > at > org.apache.geode.internal.cache.GemFireCacheImpl.requestSharedConfiguration(GemFireCacheImpl.java:1036) > at > org.apache.geode.internal.cache.GemFireCacheImpl.(GemFireCacheImpl.java:835) > at > org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:775) > at > org.apache.geode.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:764) > at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:175) > at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:222) > at > org.apache.geode.distributed.internal.DefaultServerLauncherCacheProvider.createCache(DefaultServerLauncherCacheProvider.java:52) > at > org.apache.geode.distributed.ServerLauncher.createCache(ServerLauncher.java:844) > at > org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:762) > at > org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:692) > at > org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:226) > Caused by: java.lang.NullPointerException > at > org.apache.geode.management.internal.configuration.functions.GetClusterConfigurationFunction.execute(GetClusterConfigurationFunction.java:55) > at > org.apache.geode.internal.cache.MemberFunctionStreamingMessage.process(MemberFunctionStreamingMessage.java:186) > at > org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:382) > at > org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:448) > 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.DistributionManager.runUntilShutdown(DistributionManager.java:1099) > at > org.apache.geode.distributed.internal.DistributionManager.access$000(DistributionManager.java:108) > at > org.apache.geode.distributed.internal.DistributionManager$9$1.run(DistributionManager.java:970) > at java.lang.Thread.run(Thread.java:748) > {noformat} > The logs from the locator, when using {{log-level=fine}} show the following: > {noformat} > [fine 2018/04/03 15:24:40.501 IST locator1 > tid=0x51] Exception occurred on remote member while executing Function: > org.apache.geode.management.internal.configuration.functions.GetClusterConfigurationFunction > java.lang.NullPointerException > at > org.apache.geode.management.internal.configuration.functions.GetClusterConfigurationFunction.execute(GetClusterConfigurationFunction.java:55) > at > org.apache.geode.internal.cache.MemberFunctionStreamingMessage.process(MemberFunctionStreamingMessage.java:186) > at > org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:382) > at > org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:448) > 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.DistributionManager.runUntilShutdown(DistributionManager.java:1099) > at > org.apache.geode.distributed.internal.DistributionManager.access$000(DistributionManager.java:108) > at >