我正试图从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
任何帮助表示赞赏。谢谢!
答案 0 :(得分:2)
原来我忽略了H2O的要求。不支持Java 9 SDK。降级到版本8修复了我的问题。