从RStudio启动h2o,运行命令'curl'http://localhost:54321''的状态为127 [英] Issue starting h2o from RStudio, running command 'curl 'http://localhost:54321'' had status 127

查看:287
本文介绍了从RStudio启动h2o,运行命令'curl'http://localhost:54321''的状态为127的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm trying to start H2O from within RStudio. I've got the latest versions of R, RStudio, the R H2O package, Java SE SDK and the RCurl package. But when trying to initialize H2O, I get the following output:

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

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

Any help appreciated. Thanks!

推荐答案

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

Turns out I overlooked the requirements of H2O. Java 9 SDK is not supported. Downgrading to version 8 fixed my problem.

这篇关于从RStudio启动h2o,运行命令'curl'http://localhost:54321''的状态为127的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆