h2o http错误消息:无法连接到localhost端口54321:连接被拒绝&错误:createlog4j中失败,现在退出

kx7yvsdv  于 2021-07-03  发布在  Java
关注(0)|答案(0)|浏览(655)

我试过安装不同版本的java,用不同的方式重新安装h2o,更新r,但是我还是不断地遇到同样的错误。我不确定是否是文件路径错误,因为路径名中有空格:

C:\Users\Augustine Antony

或者如果这是java的问题。
下面是错误消息

> h2o.init()

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

Note:  In case of errors look at the following log files:
    C:\Users\Augustine Antony\AppData\Local\Temp\RtmpeCLF6t\file1ba8792a6dc0/h2o_Augustine_started_from_r.out
    C:\Users\Augustine Antony\AppData\Local\Temp\RtmpeCLF6t\file1ba874912620/h2o_Augustine_started_from_r.err

java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)

 Starting H2O JVM and connecting: ............................................................Diagnostic 

HTTP Request:
   HTTP Status Code: -1
HTTP Error Message: Failed to connect to localhost port 54321: Connection refused
Cannot load library from path lib/windows_64/xgboost4j_gpu.dll
Cannot load library from path lib/xgboost4j_gpu.dll
Failed to load library from both native path and jar!
Cannot load library from path lib/windows_64/xgboost4j_omp.dll
Cannot load library from path lib/xgboost4j_omp.dll
Failed to load library from both native path and jar!
Cannot load library from path lib/windows_64/xgboost4j_minimal.dll
Cannot load library from path lib/xgboost4j_minimal.dll
Failed to load library from both native path and jar!
Cannot initialize XGBoost backend! Xgboost (enabled GPUs) needs: 
  - CUDA 8.0
XGboost (minimal version) needs: 
  - GCC 4.7+
For more details, run in debug mode: `java -Dlog4j.configuration=file:///tmp/log4j.properties -jar h2o.jar`

    ERROR: Unknown argument (Antony/AppData/Local/Temp/RtmpeCLF6t)

Usage:  java [-Xmx<size>] -jar h2o.jar [options]
        (Note that every option has a default and is optional.)

    Error Output:
   ERROR: failed in createLog4j, exiting now.
   java.lang.NullPointerException
    at water.util.Log.createLog4j(Log.java:349)
    at water.util.Log.write0(Log.java:139)
    at water.util.Log.flushBufferedMessages(Log.java:156)
    at water.util.Log.notifyAboutProcessExiting(Log.java:78)
    at water.H2O.exit(H2O.java:948)
    at water.H2O.parseFailed(H2O.java:465)
    at water.H2O.parseH2OArgumentsTo(H2O.java:760)
    at water.H2O.parseArguments(H2O.java:529)
    at water.H2O.main(H2O.java:2184)`enter code here`
    at water.H2OStarter.start(H2OStarter.java:22)
    at water.H2OStarter.start(H2OStarter.java:48)
    at water.H2OApp.main(H2OApp.java:12)

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题