Skip to main content

Start Accio Server through Executable JAR

  • Requirements:
    • Mac OS X or Linux
    • Java 11.0.11+, 64-bit
  • build from source
    ./mvnw clean install -DskipTests -P exec-jar
  • Find executable jar under accio/accio-server/target e.g. accio-server-1-SNAPSHOT-executable.jar
  • Run executable jar to start accio server
    java \
    -Dconfig=config.properties \
    -jar accio-server-1-SNAPSHOT-executable.jar
  • config.properties example
    # postgresql
    node.environment=test
    accio.file=tpch_mdl.json
    accio.datasource.type=postgres
    postgres.jdbc.url=jdbc:postgresql://0.0.0.0:5432/test
    postgres.user=foo
    postgres.password=bar
    • note that accio.file accept json file that converted by accio-cli, use cli serve to convert .mdl to .json