我在 hadoop 上的 10 节点集群上运行 h20(h20 开始使用 h20driver.jar)
在 R 中使用以下命令连接到集群
h20.init(ip="ip-address",startH20=FALSE)
失败并出现以下错误
Cannot connect to H20 server. Please check that h20 running at https://ip-address:54321
有什么建议吗?
最佳答案
发现这是一个代理问题。检查并删除了 R 中的代理环境变量。 检查是否有代理,我有一套 Sys.getenv("http_proxy) Sys.getenv("https_proxy)
取消代理 Sys.setenv("http_proxy"="") Sys.setenv("https_proxy"="")
关于r - 如何将 R 连接到 hadoop 上正在运行的 H20 集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49733301/