【问题标题】:Issue starting h2o from RStudio, running command 'curl 'http://localhost:54321'' had status 127 [duplicate]从 RStudio 启动 h2o 问题,运行命令'curl'http://localhost:54321'' 状态为 127 [重复]
【发布时间】:2018-03-14 02:11:09
【问题描述】:

我正在尝试从 RStudio 中启动 H2O。我有最新版本的 R、RStudio、R H2O 包、Java SE SDK 和 RCurl 包。但是在尝试初始化 H2O 时,我得到以下输出:

H2O is not running yet, starting it now...

Note:  In case of errors look at the following log files:

 C:\Users\fel069\AppData\Local\Temp\RtmpQZJyS1/h2o_fel069_started_from_r.out
 C:\Users\fel069\AppData\Local\Temp\RtmpQZJyS1/h2o_fel069_started_from_r.err

java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

    Starting H2O JVM and connecting:     ............................................................ 
[1] "localhost"
[1] 54321
[1] TRUE
[1] -1
[1] "Failed to connect to localhost port 54321: Connection refused"
[1] 127
Error in h2o.init(nthreads = -1, max_mem_size = "8g") : 
  H2O failed to start, stopping execution.
In addition: Warning message:
running command 'curl 'http://localhost:54321'' had status 127

任何帮助表示赞赏。谢谢!

【问题讨论】:

  • 布兰登是对的。我认为任何类似的问题都会出现在 Google 上。对不起。

标签: r rstudio h2o


【解决方案1】:

原来我忽略了 H2O 的要求。不支持 Java 9 SDK。降级到版本 8 解决了我的问题。

【讨论】:

    猜你喜欢
    • 2023-03-15
    • 2015-05-21
    • 1970-01-01
    • 2013-02-04
    • 2016-04-06
    • 1970-01-01
    • 1970-01-01
    • 2016-03-18
    • 2015-01-29
    相关资源
    最近更新 更多