連接到在主節點上運行在EMR核心節點上的H2o服務器時出錯。無法連接到正在運行的H2o服務器[H2O.ai]
import h2o
h2o.connect(url="http://IP:54321")
錯誤跟蹤
Connecting to H2O server at http://IP:54321... successful.
Traceback (most recent call last):
File "/home/hadoop/TataCliqEMR/app/__init__.py", line 3, in <module>
h2o.connect(ip="IP", port=54321)
File "/usr/local/lib/python3.4/site-packages/h2o/h2o.py", line 86, in connect
h2oconn.cluster.show_status()
File "/usr/local/lib/python3.4/site-packages/h2o/backend/cluster.py", line 190, in show_status
["H2O internal security:", self.internal_security_enabled],
File "/usr/local/lib/python3.4/site-packages/h2o/backend/cluster.py", line 121, in internal_security_enabled
return self._props["internal_security_enabled"]
KeyError: 'internal_security_enabled'
請指出您正在運行的H2O的版本。如果它不是最新的穩定版本,請確保升級,再試一次,看看是否修復它。 –