首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何用H2O更新R上的H2O集群版本?

如何用H2O更新R上的H2O集群版本?
EN

Stack Overflow用户
提问于 2021-06-11 17:00:08
回答 1查看 121关注 0票数 0

每当我在Mac上从R导入h2o时,我都会看到一条警告消息

代码语言:javascript
复制
Your H2O cluster version is too old (8 months and 2 days)!
Please download and install the latest version from http://h2o.ai/download/

因此,我按照h2o主页(http://h2o-release.s3.amazonaws.com/h2o/rel-zipf/3/index.html)的安装指南运行

代码语言:javascript
复制
# The following two commands remove any previously installed H2O packages for R.
if ("package:h2o" %in% search()) { detach("package:h2o", unload=TRUE) }
if ("h2o" %in% rownames(installed.packages())) { remove.packages("h2o") }

# Next, we download packages that H2O depends on.
pkgs <- c("RCurl","jsonlite")
for (pkg in pkgs) {
if (! (pkg %in% rownames(installed.packages()))) { install.packages(pkg) }
}

# Now we download, install and initialize the H2O package for R.
install.packages("h2o", type="source", repos="http://h2o-release.s3.amazonaws.com/h2o/rel-zipf/3/R")

但是这种方法不能解决问题,而是会产生错误。

代码语言:javascript
复制
R is connected to the H2O cluster: 
    H2O cluster uptime:         10 days 3 hours 
    H2O cluster timezone:       America/New_York 
    H2O data parsing timezone:  UTC 
    H2O cluster version:        3.32.0.1 
    H2O cluster version age:    8 months and 2 days !!! 
    H2O cluster name:           H2O_started_from_R_matthewson_gtl621 
    H2O cluster total nodes:    1 
    H2O cluster total memory:   25.55 GB 
    H2O cluster total cores:    8 
    H2O cluster allowed cores:  8 
    H2O cluster healthy:        TRUE 
    H2O Connection ip:          localhost 
    H2O Connection port:        54321 
    H2O Connection proxy:       NA 
    H2O Internal Security:      FALSE 
    H2O API Extensions:         Amazon S3, XGBoost, Algos, AutoML, Core V3, TargetEncoder, Core V4 
    R Version:                  R version 4.0.3 (2020-10-10) 

Error in h2o.init() : 
  Version mismatch! H2O is running version 3.32.0.1 but h2o-R package is version 3.32.1.3.
         Install the matching h2o-R version from - https://h2o-release.s3.amazonaws.com/h2o/rel-zermelo/1/index.html
In addition: Warning message:
In h2o.clusterInfo() : 
Your H2O cluster version is too old (8 months and 2 days)!
Please download and install the latest version from http://h2o.ai/download/

有办法更新集群的h2o版本吗?不过,我并没有在windows机器上经历过这个问题。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-09-08 23:28:36

现在看来,h2o集群版本已经更新到CRAN版本了。简单地从CRAN重新安装解决了这个问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67940893

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档