Skip to content

Commit

Permalink
RRes ETL, fixing issue with Neo dump.
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-brandizi committed Feb 10, 2024
1 parent e556779 commit 409574a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions rres-endpoints/config/datasets/poaceae-sample-1-cfg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export KETL_SRC_OXL="${KETL_OUT}/tmp/${KETL_DATASET_ID}.oxl"

# Neo 
export KETL_HAS_NEO4J=true
export KETL_NEO_VERSION='5.16.0'
export NEO4J_HOME="/tmp/neo4j-community-$KETL_NEO_VERSION"

# Knet Initialiser
Expand Down
4 changes: 3 additions & 1 deletion rres-endpoints/endpoint-steps/neo-dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ EOT
fi

echo -e "\n Neo4j Dump to '$neo_dump'\n"
"$NEO4J_HOME/bin/neo4j-admin" database dump --to-stdout neo4j --verbose >"$neo_dump"
# WARNING!!! DO NOT USE --verbose!!! It sends diagnostic messages to the
# standard output!!! See: https://github.com/neo4j/neo4j/issues/13397
"$NEO4J_HOME/bin/neo4j-admin" database dump --to-stdout neo4j >"$neo_dump"

echo -e "\n Neo4j Dump done\n"

0 comments on commit 409574a

Please sign in to comment.