I try to connect my neo4j DB to community.cloud.databricks using library neo4j-contrib:neo4j-spark-connector:2.4.0-M6.
Spark config includes:
$SPARK_HOME/bin/spark-shell --packages graphframes:graphframes:0.7.0-spark2.4-s_2.11 neo4j-contrib:neo4j-spark-connector:2.4.0-M6
Setting of neo4j db includes:
When I use http://localhost:7474 from my chrome browser I get a connection through bolt://localhost:7687 and it's work.
But I can not connect the DB to databricks to work with.
I get massages:
org.apache.spark.SparkException: Job aborted due to stage failure: Task 4 in stage 0.0 failed 1 times, most recent failure: Lost task 4.0 in stage 0.0 (TID 4, localhost, executor driver): org.neo4j.driver.v1.exceptions.ServiceUnavailableException: Unable to connect to localhost:7687, ensure the database is running and that there is a working network connection to it.
The DB is running, and the port is free. I use Neo4j 3.5.6 and Windows 10 Pro 2018.
Do someone use Databricks for ML purpose or maybe something else could be more appropriate?