Presto 安装配置
https://prestodb.io/docs/current/installation/deployment.html
https://www.jianshu.com/p/520722be209e
[root@dev-presto2 /etc/presto/presto-server/etc ]# tree .
.
├── catalog
│ ├── mongodb.properties
│ ├── mysql.properties
│ └── mysql_3.properties
├── config.properties
├── jvm.config
├── log.properties
└── node.properties
##cat jvm.config
-server
-Xmx16G
-XX:+UseG1GC
-XX:G1HeapRegionSize=32M
-XX:+UseGCOverheadLimit
-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
-XX:+ExitOnOutOfMemoryError
-DHADOOP_USER_NAME=hdfs
## cat config.properties
coordinator=true
node-scheduler.include-coordinator=false
http-server.http.port=10008
query.max-memory=50GB
query.max-memory-per-node=1GB
query.max-total-memory-per-node=2GB
discovery-server.enabled=true
discovery.uri=http://192.168.1.151:10058
## cat log.properties
com.facebook.presto=INFO
## cat node.properties
node.environment=production
node.id=master01
node.data-dir=/home/presto/presto-datadir
## cat catalog/mysql.properties
connector.name=mysql
connection-url=jdbc:mysql://192.168.9.9:3306
connection-user=root
connection-password=123123