I am working in AWS on an EC2 analytics cluster and having an issue with the GDS Enterprise library install.
Neo4j version: 5.11.0
GDS version: 2.4.4
Java version: 17
OS: Amazon Linux 2
The debug.log shows a long list of Failed to load .... from plugin jar `/var/lib/neo4j/plugins/neo4j-graph-data-science-2.4.4.jar`: java.lang.NoClassDefFoundError: ....
(Too long to include complete error log)
GDS Enterprise is installed on the secondary server
-
I have tried the install with graphdatascience neo4j-graph-data-science-2.4.4.zip and the github neo4j-graph-data-science-2.4.4.jar
-
the .jar file has chown neo4j:neo4j & chmod 0775
-
in the default NEO4J_HOME path, /var/lib/neo4j/plugins
-
named by default when unzipped, neo4j-graph-data-science-2.4.4.jar
secondary server config
* server.directories.plugins=/var/lib/neo4j/plugins
* initial.dbms.default_primaries_count=1
* initial.dbms.default_secondaries_count=1
* server.default_listen_address=0.0.0.0
* server.default_advertised_address= SERVER IP
* dbms.cluster.discovery.endpoints= ALL IPS LISTED HERE
* server.routing.listen_address=:7688
* server.routing.advertised_address=:7688
* server.bolt.enabled=true
* server.http.enabled=true
* initial.server.mode_constraint=SECONDARY
* server.cluster.system_database_mode=SECONDARY
* dbms.security.procedures.unrestricted=apoc.,gds.
* dbms.security.procedures.allowlist=apoc.coll.,apoc.load.,apoc.,gds.
* dbms.routing.enabled=true
* dbms.routing.default_router=SERVERwriter server config:
* server.directories.plugins=/var/lib/neo4j/plugins
* initial.dbms.default_primaries_count=1
* initial.dbms.default_secondaries_count=1
* server.default_listen_address=0.0.0.0
* server.default_advertised_address= SERVER IP
* dbms.cluster.discovery.endpoints= SERVER IP
* server.routing.listen_address=:7688
* server.routing.advertised_address=:7688
* server.bolt.enabled=true
* server.http.enabled=true
* dbms.security.procedures.unrestricted=apoc.*
* dbms.security.procedures.allowlist=apoc.coll.,apoc.load.,apoc.*
* dbms.routing.enabled=true
* dbms.routing.default_router=SERVER
I can start the cluster and access the UI at the default http://IP:7474
When I run RETURN gds.version();
I get a systax error: Neo.ClientError.Statement.SyntaxError
Unknown function 'gds.version' (line 1, column 8 (offset: 7)) "RETURN gds
.version
() AS gds.version()
"
I can confirm the cluster with SHOW SERVERS YIELD *;
I can confirm the APOC install with RETURN apoc.version();
What could be going on here?