【问题标题】:Getting error while starting presto as $ sudo bin/launcher run启动 presto 时出错 $ sudo bin/launcher run
【发布时间】:2017-11-02 19:44:30
【问题描述】:
当我这样开始时,它已经开始了,但是
sys2079@sys2079:~/Music/presto-server-0.149$ sudo bin/launcher start
从 10672 开始
在那之后我尝试吃午餐,然后我得到了这样的错误
sys2079@sys2079:~/presto-server-0.149$ sudo bin/launcher run
无法识别的 VM 选项“G1HeapRegionSize = 32M”
你的意思是'G1HeapRegionSize ='吗?
错误:无法创建 Java 虚拟机。
错误:发生了致命异常。程序将退出。
我必须做什么????
【问题讨论】:
标签:
installation
ubuntu-16.04
presto
【解决方案1】:
尝试更改 /etc/config.properties 文件中的 RAM
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://<your IP or *Localhost*>:8080
希望对你有帮助
【解决方案2】:
问题出在您的jvm.config presto 文件中。您应该将 JVM 选项写为:G1HeapRegionSize=32M 而不是 G1HeapRegionSize = 32M