【问题标题】: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

      【讨论】:

        猜你喜欢
        • 2018-03-17
        • 2017-01-14
        • 2018-09-28
        • 2012-09-03
        • 2017-04-19
        • 1970-01-01
        • 1970-01-01
        • 2017-11-23
        • 2018-04-19
        相关资源
        最近更新 更多