coordinator=true node-scheduler.include-coordinator=true http-server.http.port=8080 query.max-memory=5GB query.max-memory-per-node=1GB query.max-total-memory-per-node=2GB discovery-server.enabled=true discovery.uri=http://localhost:8080 ( etc/log.properties ) com.facebook.presto=INFO 3.5 Catalog Properties (e.g., TPCH for testing) sudo mkdir etc/catalog Create etc/catalog/tpch.properties :
# Extract tarball sudo tar -xzf presto-server-0.288.tar.gz sudo mv presto-server-0.288 /opt/presto/presto-server-8.8 sudo ln -s /opt/presto/presto-server-8.8 /opt/presto/current Create the etc directory and essential configuration files. instalar presto 8.8
cd /opt/presto/current sudo mkdir etc ( etc/node.properties ) node.environment=production node.id=presto-coordinator-01 node.data-dir=/var/presto/data 3.2 JVM Config ( etc/jvm.config ) -server -Xmx4G -XX:+UseG1GC -XX:G1HeapRegionSize=32M -XX:+UseGCOverheadLimit -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:OnOutOfMemoryError=kill -9 %p 3.3 Config Properties ( etc/config.properties ) For coordinator (single node setup): coordinator=true node-scheduler
[Install] WantedBy=multi-user.target