Skip to content

Commit

Permalink
fix spark yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jasinliu committed Oct 4, 2023
1 parent 4a4449e commit aa3cd2d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/spark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa3cd2d

Please sign in to comment.