在 r 中初始化 h2o 花费的时间太长

Taking too long to initialize h2o in r

我正在尝试使用 h2o.init() 在我的 windows 机器上初始化 h2o。直到昨天它都工作正常,但今天初始化时间太长并发出警告消息:

h2o.init()
 Connection successful!

R is connected to the H2O cluster: 
    H2O cluster uptime:         5 days 23 hours 
    H2O cluster timezone:       America/New_York 
    H2O data parsing timezone:  UTC 
    H2O cluster version:        3.18.0.11 
    H2O cluster version age:    19 days  
    H2O cluster name:           H2O_started_from_R_tfx859 
    H2O cluster total nodes:    1 
    H2O cluster total memory:   0.46 GB 
    H2O cluster total cores:    8 
    H2O cluster allowed cores:  8 
    H2O cluster healthy:        FALSE 
    H2O Connection ip:          localhost 
    H2O Connection port:        54321 
    H2O Connection proxy:       NA 
    H2O Internal Security:      FALSE 
    H2O API Extensions:         Algos, AutoML, Core V3, Core V4 
    R Version:                  R version 3.5.0 (2018-04-23) 

Warning in .h2o.__checkConnectionHealth() : H2O cluster node 1.0.0.1:5 is behaving slowly and should be inspected manually Warning in .h2o.__checkConnectionHealth() : Check H2O cluster status here: http://localhost:5/3/Cloud?skip_ticks=true

如何解决这个问题?

此外,当我尝试使用 test.h2o <- as.h2o(test).

将数据框转换为 h2o 对象时,它在连接到 h2o 后抛出错误

错误消息告诉您您的一个节点运行缓慢(那台机器出现问题导致它运行缓慢,不是 H2O 问题)。我的建议是使用 h2o.shutdown() 关闭 H2O 集群,然后重新启动所有节点,然后重新启动 H2O 集群。这应该可以解决它。

注意这个:

H2O cluster total memory: 0.46 GB

这对于 H2O 来说太小了 运行。我建议不少于 5 GB。