Presto的配置如下:
节点属性:node.properties
node.environment=production
node.id=ffffffff-ffff-ffff-ffff-ffffffffffff
node.data-dir=/var/presto/data
配置属性:config.properties
coordinator=true
node-scheduler.include-coordinator=true
http-server.http.port=8080
query.max-memory=5GB
query.max-memory-per-node=1GB
discovery-server.enabled=true
discovery.uri=http://hadoop1:8080
JVM Config
-Xmx16G
-XX:+UseG1GC
-XX:G1HeapRegionSize=32M
-XX:+UseGCOverheadLimit
-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
-XX:+ExitOnOutOfMemoryError
连接Hive的配置
connector.name=hive-hadoop2
hive.metastore.uri=thrift://hadoop1:9083
hive.config.resources=/usr/local/hadoop/etc/hadoop/core-site.xml,/usr/local/hadoop/etc/hadoop/hdfs-site.xml
以上就是在presto的所有配置
启动时就显示报错
root@hadoop1:/usr/local/presto-server-0.225# bin/launcher start
/usr/bin/env: 'python': No such file or directory
但是我的系统是有python的
root@hadoop1:# python3 -V
Python 3.6.8
请问,这个如何解决
新手求教,求助各位大佬们,拜托了。