diff --git a/.github/workflows/spark.yaml b/.github/workflows/spark.yaml index 84cfbb986..42adf41c1 100644 --- a/.github/workflows/spark.yaml +++ b/.github/workflows/spark.yaml @@ -75,13 +75,31 @@ jobs: scripts/run-graphar2neo4j.sh # stop and clean + neo4j stop popd - name: Run Neo4j importer run: | - pushd spark/import + export JAVA_HOME=${JAVA_HOME_11_X64} + pushd spark + scripts/get-spark-to-home.sh + export SPARK_HOME="${HOME}/spark-3.2.2-bin-hadoop3.2" + export PATH="${SPARK_HOME}/bin":"${PATH}" + + scripts/get-neo4j-to-home.sh + export NEO4J_HOME="${HOME}/neo4j-community-4.4.23" + export PATH="${NEO4J_HOME}/bin":"${PATH}" + neo4j-admin set-initial-password neo4j + + scripts/deploy-neo4j-movie-data.sh + + scripts/build.sh + + export NEO4J_USR="neo4j" + export NEO4J_PWD="neo4j" # run the importer + cd import ./neo4j.sh neo4j.json # stop and clean