简体   繁体   English

无法连接到 http://localhost:54321

[英]Can't connect to http://localhost:54321

I like to to run the lilikoi example code with the mock data provided by the lilikoi R package, however, I am stuck at the lilikoi.machine_learning() command due to a connection error with H2O.我喜欢使用 lilikoi R package 提供的模拟数据运行 lilikoi 示例代码,但是,由于与 H2O 的连接错误,我被困在 lilikoi.machine_learning() 命令中。

I downloaded the H2O file and unzipped it in the R Terminal, but now I cannot connect to http://localhost:54321 as indicated by your website ( https://h2o-release.s3.amazonaws.com/h2o/rel-zygmund/4/index.html ).我下载了 H2O 文件并在 R 终端中解压缩,但现在我无法连接到 http://localhost:54321,如您的网站所示( https://h2o-release.s3.amazonaws.com/h2o/rel-齐格蒙德/4/index.html )。

Below is the error message I get, copied from my R console:以下是我从 R 控制台复制的错误消息:

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

Note:  In case of errors look at the following log files:
    C:\Users\LUISEB~1\AppData\Local\Temp\Rtmp6HnISl\file2abc38ab39e6/h2o_Luise_Bellach_started_from_r.out
    C:\Users\LUISEB~1\AppData\Local\Temp\Rtmp6HnISl\file2abc5e38704f/h2o_Luise_Bellach_started_from_r.err

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

Starting H2O JVM and connecting: . Connection successful!

R is connected to the H2O cluster: 
    H2O cluster uptime:         1 seconds 582 milliseconds 
    H2O cluster timezone:       Europe/Berlin 
    H2O data parsing timezone:  UTC 
    H2O cluster version:        3.38.0.1 
    H2O cluster version age:    4 months and 11 days !!! 
    H2O cluster name:           H2O_started_from_R_Luise_Bellach_gwz511 
    H2O cluster total nodes:    1 
    H2O cluster total memory:   3.51 GB 
    H2O cluster total cores:    16 
    H2O cluster allowed cores:  16 
    H2O cluster healthy:        TRUE 
    H2O Connection ip:          localhost 
    H2O Connection port:        54321 
    H2O Connection proxy:       NA 
    H2O Internal Security:      FALSE 
    R Version:                  R version 4.2.2 (2022-10-31 ucrt) 
Warnung: 
Your H2O cluster version is too old (4 months and 11 days)!
Please download and install the latest version from http://h2o.ai/download/
  |=========================================================================================================================| 100%
  |                                                                                                                         |   0%Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = urlSuffix,  : 
  Unexpected CURL error: Operation was aborted by an application callback
[1] "Job request failed Unexpected CURL error: Operation was aborted by an application callback, will retry after 3s."

This goes on multiple times and the % bar doesn't move.这种情况会持续多次,% 栏不会移动。 Can anyone help me out with this issue?谁能帮我解决这个问题?

Best最好的

Dr. Luise Bellach路易斯·贝拉奇博士

I downloaded the H2O file and unzipped it in the R Terminal, but now I cannot connect to http://localhost:54321 as indicated by your website ( https://h2o-release.s3.amazonaws.com/h2o/rel-zygmund/4/index.html ).我下载了 H2O 文件并在 R 终端中解压缩,但现在我无法连接到 http://localhost:54321,如您的网站所示( https://h2o-release.s3.amazonaws.com/h2o/rel-齐格蒙德/4/index.html )。

I found an alternative way for downloading the latest package:我找到了另一种下载最新 package 的方法:

  1. define where you want your ZIP file to be downloaded to (i created a Downloads folder in my working directory) and download from http://h2o-release.s3.amazonaws.com/h2o/latest_stable.html定义要将 ZIP 文件下载到的位置(我在我的工作目录中创建了一个下载文件夹)并从http://h2o-release.s3.amazonaws.com/h2o/latest_stable.html下载
  2. run this in the terminal在终端中运行
cd ~/Downloads
unzip h2o-3.38.0.2.zip
cd h2o-3.38.0.2
java -jar h2o.jar
  1. go through the dialoge in the terminal to install r (not python) go 通过终端中的dialoge安装r(不是python)
  2. install via the console通过控制台安装
install.packages("~\Downloads\h2o-3.38.0.4\R\h2o_3.38.0.4.tar.gz", repos = NULL, type = "source")
  1. load the library加载库
library(h2o)

Troubleshooting: make sure to have the fitting Java Version installed (eg Version 8)故障排除:确保已安装配件 Java 版本(例如版本 8)

Alternatively: here is also a code posted by H2O: https://docs.h2o.ai/h2o/latest-stable/h2o-docs/downloading.html#install-in-r或者:这也是 H2O 发布的代码: https://docs.h2o.ai/h2o/latest-stable/h2o-docs/downloading.html#install-in-r

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM