gpt4 book ai didi

r - Can't start H2O in R : Error in h2o. init() H2O 启动失败,停止执行

转载 作者:行者123 更新时间:2023-12-02 20:07:21 26 4
gpt4 key购买 nike

我尝试在带有 R 3.5.0 的 RHEL 6.7 服务器上使用 H2O。这是我在使用 library(h2o) 加载包后发出 h2o.init() 命令时发生的情况:

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

Note: In case of errors look at the following log files:
/tmp/Rtmp0k66FQ/h2o_enrico_started_from_r.out
/tmp/Rtmp0k66FQ/h2o_enrico_started_from_r.err

java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

Starting H2O JVM and connecting: ............................................................Cannot load library from path lib/linux_64/libxgboost4j_gpu.so
Cannot load library from path lib/libxgboost4j_gpu.so
Failed to load library from both native path and jar!
Cannot load library from path lib/linux_64/libxgboost4j_omp.so
Cannot load library from path lib/libxgboost4j_omp.so
Failed to load library from both native path and jar!
01-26 17:06:39.858 127.0.0.1:54321 83682 main INFO: Found XGBoost backend with library: xgboost4j_minimal
01-26 17:06:39.958 127.0.0.1:54321 83682 main INFO: Your system supports only minimal version of XGBoost (no GPUs, no multithreading)!
01-26 17:06:39.959 127.0.0.1:54321 83682 main INFO: ----- H2O started -----
01-26 17:06:39.959 127.0.0.1:54321 83682 main INFO: Build git branch: rel-xu
01-26 17:06:39.959 127.0.0.1:54321 83682 main INFO: Build git hash: 3ad2470fdea521c2d6fb3aa31d8c766042bdb992
01-26 17:06:39.959 127.0.0.1:54321 83682 main INFO: Build git describe: jenkins-master-4525-7-g3ad2470
01-26 17:06:39.959 127.0.0.1:54321 83682 main INFO: Build project version: 3.22.1.1
01-26 17:06:39.960 127.0.0.1:54321 83682 main INFO: Build age: 29 days
01-26 17:06:39.960 127.0.0.1:54321 83682 main INFO: Built by: 'jenkins'
01-26 17:06:39.960 127.0.0.1:54321 83682 main INFO: Built on: '2018-12-28 14:04:50'
01-26 17:06:39.969 127.0.0.1:54321 83682 main INFO: Watchdog Build git branch: (unknown)
01-26 17:06:39.969 127.0.0.1:54321 83682 main INFO: Watchdog Build git hash: (unknown)
01-26 17:06:39.973 127.0.0.1:54321 83682 main INFO: Watchdog Build git describe: (unknown)
01-26 17:06:39.973 127.0.0.1:54321 83682 main INFO: Watchdog Build project version: (unknown)
01-26 17:06:39.973 127.0.0.1:54321 83682 main INFO: Watchdog Built by: (unknown)
01-26 17:06:39.973 127.0.0.1:54321 83682 main INFO: Watchdog Built on: (unknown)
01-26 17:06:39.973 127.0.0.1:54321 83682 main INFO: XGBoost Build git branch: (unknown)
01-26 17:06:39.973 127.0.0.1:54321 83682 main INFO: XGBoost Build git hash: (unknown)
01-26 17:06:39.974 127.0.0.1:54321 83682 main INFO: XGBoost Build git describe: (unknown)
01-26 17:06:39.974 127.0.0.1:54321 83682 main INFO: XGBoost Build project version: (unknown)
01-26 17:06:39.974 127.0.0.1:54321 83682 main INFO: XGBoost Built by: (unknown)
01-26 17:06:39.975 127.0.0.1:54321 83682 main INFO: XGBoost Built on: (unknown)
01-26 17:06:39.975 127.0.0.1:54321 83682 main INFO: KrbStandalone Build git branch: (unknown)
01-26 17:06:39.976 127.0.0.1:54321 83682 main INFO: KrbStandalone Build git hash: (unknown)
01-26 17:06:39.976 127.0.0.1:54321 83682 main INFO: KrbStandalone Build git describe: (unknown)
01-26 17:06:39.976 127.0.0.1:54321 83682 main INFO: KrbStandalone Build project version: (unknown)
01-26 17:06:39.976 127.0.0.1:54321 83682 main INFO: KrbStandalone Built by: (unknown)
01-26 17:06:39.976 127.0.0.1:54321 83682 main INFO: KrbStandalone Built on: (unknown)
01-26 17:06:39.976 127.0.0.1:54321 83682 main INFO: Processed H2O arguments: [-name, H2O_started_from_R_enrico_kcp980, -ip, localhost, -web_ip, localhost, -port, 54321, -ice_r
oot, /tmp/Rtmp0k66FQ]
01-26 17:06:39.977 127.0.0.1:54321 83682 main INFO: Java availableProcessors: 32
01-26 17:06:39.977 127.0.0.1:54321 83682 main INFO: Java heap totalMemory: 1.92 GB
01-26 17:06:39.977 127.0.0.1:54321 83682 main INFO: Java heap maxMemory: 26.67 GB
01-26 17:06:39.977 127.0.0.1:54321 83682 main INFO: Java version: Java 1.8.0_20 (from Oracle Corporation)
01-26 17:06:39.981 127.0.0.1:54321 83682 main INFO: JVM launch parameters: [-ea]
01-26 17:06:39.981 127.0.0.1:54321 83682 main INFO: OS version: Linux 2.6.32-554.el6.x86_64 (amd64)
01-26 17:06:39.981 127.0.0.1:54321 83682 main INFO: Machine physical memory: 757.37 GB
01-26 17:06:39.981 127.0.0.1:54321 83682 main INFO: X-h2o-cluster-id: 1548518797511
01-26 17:06:39.982 127.0.0.1:54321 83682 main INFO: User name: 'enrico'
01-26 17:06:39.982 127.0.0.1:54321 83682 main INFO: IPv6 stack selected: false
01-26 17:06:39.982 127.0.0.1:54321 83682 main INFO: Possible IP Address: ib0 (ib0), fe80:0:0:0:e61d:2d03:e1:4371%ib0
01-26 17:06:39.982 127.0.0.1:54321 83682 main INFO: Possible IP Address: ib0 (ib0), 10.168.22.9
01-26 17:06:39.983 127.0.0.1:54321 83682 main INFO: Possible IP Address: eth4 (eth4), fe80:0:0:0:a236:9fff:fe13:9594%eth4
01-26 17:06:39.983 127.0.0.1:54321 83682 main INFO: Possible IP Address: eth4 (eth4), 10.168.16.15
01-26 17:06:39.984 127.0.0.1:54321 83682 main INFO: Possible IP Address: eth0 (eth0), fe80:0:0:0:be30:5bff:fef6:9c14%eth0
01-26 17:06:39.984 127.0.0.1:54321 83682 main INFO: Possible IP Address: eth0 (eth0), 10.168.8.9
01-26 17:06:39.984 127.0.0.1:54321 83682 main INFO: Possible IP Address: lo (lo), 0:0:0:0:0:0:0:1%lo
01-26 17:06:39.984 127.0.0.1:54321 83682 main INFO: Possible IP Address: lo (lo), 127.0.0.1
01-26 17:06:39.984 127.0.0.1:54321 83682 main INFO: Selected H2O.CLOUD_MULTICAST_IF: name:lo (lo) doesn't support multicast
01-26 17:06:40.027 127.0.0.1:54321 83682 main INFO: H2O node running in unencrypted mode.
01-26 17:06:40.038 127.0.0.1:54321 83682 main INFO: Internal communication uses port: 54322
01-26 17:06:40.038 127.0.0.1:54321 83682 main INFO: Listening for HTTP and REST traffic on http://127.0.0.1:54321/
01-26 17:06:40.040 127.0.0.1:54321 83682 main INFO: H2O cloud name: 'H2O_started_from_R_enrico_kcp980' on localhost/127.0.0.1:54321, static configuration based on -flatfile null
01-26 17:06:40.041 127.0.0.1:54321 83682 main INFO: If you have trouble connecting, try SSH tunneling from your local machine (e.g., via port 55555):
01-26 17:06:40.041 127.0.0.1:54321 83682 main INFO: 1. Open a terminal and run 'ssh -L 55555:localhost:54321 <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="40252e3229232f007172776e706e706e71" rel="noreferrer noopener nofollow">[email protected]</a>'
01-26 17:06:40.041 127.0.0.1:54321 83682 main INFO: 2. Point your browser to http://localhost:55555
01-26 17:06:41.838 127.0.0.1:54321 83682 main INFO: Log dir: '/tmp/Rtmp0k66FQ/h2ologs'
01-26 17:06:41.838 127.0.0.1:54321 83682 main INFO: Cur dir: '/home/enrico'
01-26 17:06:41.869 127.0.0.1:54321 83682 main INFO: Subsystem for distributed import from HTTP/HTTPS successfully initialized
01-26 17:06:41.881 127.0.0.1:54321 83682 main INFO: HDFS subsystem successfully initialized
01-26 17:06:41.887 127.0.0.1:54321 83682 main INFO: S3 subsystem successfully initialized
01-26 17:06:41.946 127.0.0.1:54321 83682 main INFO: GCS subsystem successfully initialized
01-26 17:06:41.947 127.0.0.1:54321 83682 main INFO: Flow dir: '/home/enrico/h2oflows'
01-26 17:06:42.026 127.0.0.1:54321 83682 main INFO: Cloud of size 1 formed [localhost/127.0.0.1:54321]
01-26 17:06:42.053 127.0.0.1:54321 83682 main INFO: Registered parsers: [GUESS, ARFF, XLS, SVMLight, AVRO, PARQUET, CSV]
01-26 17:06:42.123 127.0.0.1:54321 83682 main INFO: Watchdog extension initialized
01-26 17:06:42.123 127.0.0.1:54321 83682 main INFO: XGBoost extension initialized
01-26 17:06:42.126 127.0.0.1:54321 83682 main INFO: KrbStandalone extension initialized
01-26 17:06:42.126 127.0.0.1:54321 83682 main INFO: Registered 3 core extensions in: 1099ms
01-26 17:06:42.126 127.0.0.1:54321 83682 main INFO: Registered H2O core extensions: [Watchdog, XGBoost, KrbStandalone]
01-26 17:06:43.971 127.0.0.1:54321 83682 main INFO: Registered: 169 REST APIs in: 1844ms
01-26 17:06:43.987 127.0.0.1:54321 83682 main INFO: Registered REST API extensions: [XGBoost, Algos, AutoML, Core V3, Core V4]
01-26 17:06:46.023 127.0.0.1:54321 83682 main INFO: Registered: 242 schemas in 2035ms
01-26 17:06:46.024 127.0.0.1:54321 83682 main INFO: H2O started in 8483ms
01-26 17:06:46.024 127.0.0.1:54321 83682 main INFO:
01-26 17:06:46.024 127.0.0.1:54321 83682 main INFO: Open H2O Flow in your web browser: http://127.0.0.1:54321
01-26 17:06:46.024 127.0.0.1:54321 83682 main INFO:
[1] "localhost"
[1] 54321
[1] FALSE
[1] 504
[1] ""
Error in h2o.init() : H2O failed to start, stopping execution.

标准输出日志文件显示直到最后一个 INFO 语句的相同信息(即:没有错误),并且错误日志文件完全为空。

任何帮助使其发挥作用的帮助将不胜感激!我过去曾使用过 H2O,并且是 H2O 的忠实粉丝。

谢谢!

最佳答案

实际上 H2O 确实从这里开始。指示在网络浏览器中打开 Flow 的消息就是标志。

但是 R 客户端无法连接到 H2O,因此决定放弃。

底部的消息有 504。

这是 HTTP 状态 504。这可能是 RHEL 防火墙阻止了端口 54321。您需要在防火墙中打开端口 54321。

关于r - Can't start H2O in R : Error in h2o. init() H2O 启动失败,停止执行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54380323/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com