Spring

 Gemfire 9.10.2 version upgrade and Spring boot gemfire comapbiitbiity.

Vaidhyanathan Pranatharthiharan's profile image
Vaidhyanathan Pranatharthiharan posted Sep 18, 2020 09:43 PM

Hi,

We are planning to upgrade to gemfire 9.10.2 version and Spring boot gemfire 2.3.3-RELEAS E. I didnt see this version in the compatibility Matrix page ( https://github.com/spring-projects/spring-data-gemfire/wiki/Spring-Data-for-Pivotal-GemFire-Version-Compatibility-Matrix) .

 

Please let us know if this is a compatible version or are there any known issues .

Juan Ramos's profile image
Juan Ramos

Hello @Vaidhyanathan Pranatharthiharan​,

 

Thanks for contacting the Support Community!.

Even if there might be not known issues between different versions, it's always advisable to use only the versions marked as compatible within Spring Boot for Apache Geode and Pivotal GemFire Version Compatibility Matrix [1] and Spring Data for Pivotal GemFire Version Compatibility Matrix [2]. Using other versions not marked as compatible might result in problems that are hard to reproduce and/or solve.

That said, if you go down the path of using versions not marked as compatible and you do hit a problem, you will always be asked to reproduce the issue using compatible versions when opening a support ticket; so that's yet another reason to stick to versions that are fully compatible.

Hope this helps.

Best regards.

 

[1]: https://github.com/spring-projects/spring-boot-data-geode/wiki/Spring-Boot-for-Apache-Geode-and-Pivotal-GemFire-Version-Compatibility-Matrix#version-compatibility-matrix

[2]: https://github.com/spring-projects/spring-data-gemfire/wiki/Spring-Data-for-Pivotal-GemFire-Version-Compatibility-Matrix

Vaidhyanathan Pranatharthiharan's profile image
Vaidhyanathan Pranatharthiharan

Thank you for the links . We would like to completely eliminate the usage of gfsh / gemfire installable . Is there a version that we can go for which doent have this dependecy. As for running pulse we might have to set tup the geode home version and we would like to get rid of this dependency .

 

Every time when there's an upgrade to gemfire / geode version we would like to just update the jar and we might not want to download the tar / executable .

 

Please let us know which version has this feature.

Juan Ramos's profile image
Juan Ramos

Hello @Vaidhyanathan Pranatharthiharan​ ,

 

I'm not sure I'm following your request here... if you don't want to download any tar files nor anything like that AND you're starting your entire GemFire cluster using spring-boot-data-geode or spring-data-geode, then you only need to change the dependency within your project management tool (Gradle and/or Maven).

If you're starting your cluster using gfsh, on the other hand, there's no other option but to download the new release as a tar file, unzip it and change your environment to point to the new installation folder.

Best regards.

Vaidhyanathan Pranatharthiharan's profile image
Vaidhyanathan Pranatharthiharan

Thank you . We are using Stand alone gemfire along with Spring boot and seperate spring data gemfire dependencies. The only problem we had was everytime we had to set the geode home for the pulse to work . We would like to get rid of this . If we are using Spring boot geode we wont be needing this right if we have to run pulse.

Juan Ramos's profile image
Juan Ramos

Hello @Vaidhyanathan Pranatharthiharan​ ,

 

That's correct, if you use spring-boot-data-geode then you'll only need to change the actual dependency version, PULSE should be automatically picked up from the class-path and started normally (providing that you have configured it to do so).

Best regards.

Vaidhyanathan Pranatharthiharan's profile image
Vaidhyanathan Pranatharthiharan

I have the latest spring boot data geode version 2.3.4-RELEASE . I dont see the pulse war in the dependencies , When i start my server i get an error GEODE_HOME is not being set. Do we need to do any configuration for the same ?

Juan Ramos's profile image
Juan Ramos

Hello @Vaidhyanathan Pranatharthiharan​ ,

 

You need to add an explicit configuration in order for spring-boot-data-geode to deploy and start the PULSE web application, see here [1] for details and examples.

Best regards.

 

[1]:https://docs.spring.io/spring-data/geode/docs/current/reference/html/#bootstrap-annotation-config-embedded-services-http

Vaidhyanathan Pranatharthiharan's profile image
Vaidhyanathan Pranatharthiharan

What value do we need to have to provide in geode_home as we are not having any installable

Juan Ramos's profile image
Juan Ramos

Hello @Vaidhyanathan Pranatharthiharan​ ,

 

It looks like I made a mistake in my previous update, the official documentation (link I've previously shared) states the following:

The embedded HTTP server is used to host Apache Geode’s Management (Admin) REST API (not a publicly advertised API), the Developer REST API, and the Pulse Monitoring Web Application.\\nHowever, to use any of these Apache Geode-provided web applications, you must have a full installation of Apache Geode installed on your system, and you must set the GEODE_HOME environment variable to your installation directory.

So you do need to have a full installation of Apache Geode / VMware GemFire in order to use the Pulse Web Application.

Best regards.

Vaidhyanathan Pranatharthiharan's profile image
Vaidhyanathan Pranatharthiharan

Got it . Then what would be the difference between using spring data geode and spring data gemfire.

Juan Ramos's profile image
Juan Ramos

Hello @Vaidhyanathan Pranatharthiharan​ ,

 

The main difference between spring-data-geode and spring-data-gemfire is that the first uses Apache Geode as the dependency, while the second one uses VMware GemFire (which is based on Apache Geode).

Best regards.