This inconsistency of JAR file versions can be caused by stuck threads from a function execution service or a failure to remove some deployed JAR files under the deployment working directory.
You can follow the below steps to correct deployed JAR files versions inconsistencies manually:
1. Shutdown the whole cluster including
locators and
cacheservers.
2. Confirm the deploy working directory path from "
deploy-working-dir" property in the locator's log file or the cacehserver's log file.
For example:
deploy-working-dir=/var/vcap/store/gemfire-server
Note: Locator's versioning JAR files locate in "
[deploy-working-dir]/cluster_config/cluster" directory when this cluster enables Cluster configuration service.
3. Confirm in the deployment working directory and decide a latest version copy of JAR files.
For example, from the above
list deployed output, we can see that
datanode3 have latest copy of all JAR files.
4. Remove all existing JAR file versions from all nodes except the node which has the latest copy and copy the latest copy of JAR files to all
locators and
cacheservers.
5. Restart the whole cluster including
locators and
cacheservers.