以 $ sudo bin/launcher 运行 启动 presto 时出错

Getting error while starting presto as $ sudo bin/launcher run

当我像这样启动 presto 时,它已经启动但是

sys2079@sys2079:~/Music/presto-server-0.149$ sudo bin/launcher start

开始为 10672

在那之后我试着吃午餐然后我得到这样的错误


sys2079@sys2079:~/presto-server-0.149$ sudo bin/launcher run

Unrecognized VM option 'G1HeapRegionSize = 32M' Did you mean 'G1HeapRegionSize='? Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.


我必须做什么????

尝试更改 /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

希望对您有所帮助

问题出在 presto 中的 jvm.config 文件中。您应该将 JVM 选项写为:G1HeapRegionSize=32M 而不是 G1HeapRegionSize = 32M