【问题标题】:Dynamic GemFire Region Creation with PCC使用 PCC 创建动态 GemFire 区域
【发布时间】:2018-11-17 22:06:01
【问题描述】:

我正在通过 Pivotal Cloud Cache 1.3.1 使用 Pivotal GemFire 9.1.1,并在使用 @EnableClusterConfiguration SDG 注释时遇到以下错误:

2018-11-17T16:30:35.279-05:00 [APP/PROC/WEB/0] [OUT] org.springframework.context.ApplicationContextException: Failed to start bean 'gemfireClusterSchemaObjectInitializer'; nested exception is org.apache.geode.cache.client.ServerOperationException: remote server on ac62ca98-0ec5-4a30-606b-1cc9(:8:loner):47710:a6159523:: The function is not registered for function id CreateRegionFunction
2018-11-17T16:30:35.279-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:184)

最后,我遇到了这个帖子 - https://github.com/spring-projects/spring-boot-data-geode/issues/15

我可以在 Spring Boot 2+ 中使用任何其他注释来帮助我动态创建 GemFire 区域吗?

谢谢!

【问题讨论】:

    标签: gemfire spring-data-gemfire geode


    【解决方案1】:

    很遗憾,不;目前没有其他方法可以使用 SDG/SBDG 将集群/服务器端配置从 Spring/GemFire 缓存客户端推送到在 PCF 中运行的 PCC 服务器集群。

    现在这也是因为这个潜在问题,SBDG Issue #16 - “使用 PCC 1.5 的 @EnableClusterConfiguration 将集群配置从客户端推送到服务器时,HTTP 客户端未进行身份验证。” p>

    目前,您必须使用 PCC 提供的documentation 手动创建区域(和索引)。

    对于由此给您带来的任何不便或麻烦,我们深表歉意。这将很快得到解决。

    即使在使用 Gfsh 启动您的集群(服务器)时,这也可以在本地、非托管环境中工作。它只是在使用 PCC 的 PCF 中不起作用。

    问候。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-12-03
      • 2012-10-12
      • 2018-10-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-03
      • 1970-01-01
      相关资源
      最近更新 更多