Skip to content

Data server configuration (Fuseki and Elasticsearch)

License

Notifications You must be signed in to change notification settings

projekt-opal/opaldata

Repository files navigation

OPAL data

Setup for the OPAL data server with Elasticsearch and Apache Fuseki.
This component is used by OPAL converter and OPAL batch to store data and by OPAL web-service to read data for the demo.

Configuration and start

  • Install Docker Compose
  • On your machine, set max_map_count=262144 (source: Elasticsearch guide)
  • Download or clone the GitHub repository opaldata
  • Edit the configuration file .env:
    • FUSEKI_ADMIN_PASSWORD
      Fuseki admin password for the frontend. If not set, a random password will be created.
      Testing value: opaldata-psw
    • FUSEKI_JVM_ARGS
      Java configuration for Fuseki, e.g. the maximum heap size (Xmx).
      Default value: -Xmx16g
      Testing value: -Xmx2g
    • ELASTICSEARCH_JAVA_OPTS
      Java memory configuration for Elasticsearch.
      Default value: -Xms8g -Xmx8g
      Testing value: -Xms2g -Xmx2g
  • Run sudo docker-compose up --build -d
  • After the visible execution stopped, opaldata_elasticsearch-initialization will run for around 20 seconds. Its status will change from Up to Exited. You can check it by sudo docker ps -a.

Access

Notes

Credits

Data Science Group (DICE) at Paderborn University

This work has been supported by the German Federal Ministry of Transport and Digital Infrastructure (BMVI) in the project Open Data Portal Germany (OPAL) (funding code 19F2028A).