File tree Expand file tree Collapse file tree
rres-endpoints/config/datasets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# As said elsewhere, this is done in dataset config files, to keep track of which Neo4j
33# was used for each dataset
44
5- version_no=" $( echo " $KETL_DATASET_VERSION " | sed -E s/' ^([0-9]+).*' /' \1' /) "
6- . " $KETL_HOME /config/datasets/$KETL_DATASET_ID -$version_no -cfg.sh"
5+ version_no=" $( echo " $KETL_DATASET_VERSION " | sed -E s/' ^.* ([0-9]+).*' /' \1' /) "
6+ . " $KETL_HOME /config/datasets/$KETL_DATASET_ID -${ version_no} -cfg.sh"
77
88export KETL_HAS_NEO4J=true
9- export KETL_NEO_VERSION=' 5.26.0'
10- export NEO4J_HOME=" $KNET_SOFTWARE /neo4j-community-$KETL_NEO_VERSION -etl"
9+ export KETL_NEO_VERSION=' 2026.04.0'
10+ export NEO4J_HOME=" $KNET_SOFTWARE /neo4j-community-$KETL_NEO_VERSION "
11+
12+ # TODO: remove, it's a temp hack to avoid a clash with another running pipeline
13+ #
14+ function _ketl_get_neo_url ()
15+ {
16+ host_file=" $KETL_OUT /tmp/neo4j-slurm.host"
17+ if [[ ! -f " $host_file " ]]; then
18+ # it's probably down, we signal it this way
19+ echo ' '
20+ return
21+ fi
22+ neo_host=" $( cat " $host_file " ) "
23+ echo " bolt://$neo_host :7688"
24+ }
25+ export -f _ketl_get_neo_url
26+
27+ export KETL_NEO_IDX_PAUSE_TIME=1m
You can’t perform that action at this time.
0 commit comments