etc/node.properties
node.environment=openlookeng
node.data-dir=/toptdata/presto/data/
node.launcher-log-file=/home/ocdp/hetu-server-1.7.0/log/launch.log
node.server-log-file=/home/ocdp/hetu-server-1.7.0/log/server.log
catalog.config-dir=/opt/openlookeng/hetu-server-1.7.0/etc/catalog
plugin.dir=/home/ocdp/hetu-server-1.7.0/plugin
管理节点, etc/config.properties
coordinator=true
node-scheduler.include-coordinator=false
http-server.http.port=8090
query.max-memory=50GB
query.max-total-memory=50GB
query.max-memory-per-node=10GB
query.max-total-memory-per-node=10GB
discovery-server.enabled=true
discovery.uri=http://example.net:8090
hetu.queryeditor-ui.allow-insecure-over-http=true
worker 节点, etc/config.properties
coordinator=false
http-server.http.port=8090
query.max-memory=50GB
query.max-total-memory=50GB
query.max-memory-per-node=10GB
query.max-total-memory-per-node=10GB
discovery.uri=http://example.net:8090
etc/jvm.config
参数中Xmx大小为服务器可用内存的70%(建议值,availableMem*70%)。
-server
-Xmx16G
-XX:-UseBiasedLocking
-XX:+UseG1GC
-XX:G1HeapRegionSize=32M
-XX:+ExplicitGCInvokesConcurrent
-XX:+ExitOnOutOfMemoryError
-XX:+UseGCOverheadLimit
-XX:+HeapDumpOnOutOfMemoryError
-XX:+ExitOnOutOfMemoryError