Hi! Could anybody please help me?
The first time i´m able to connect but the second time i get this error
Any idea??
Thanks a lot
bash-4.3# python3 scriptPredictions.py
Checking whether there is an H2O instance running at http://127.0.0.1:54321..... not found.
Attempting to start a local H2O server...
Java Version: openjdk version "1.8.0_121"; OpenJDK Runtime Environment (IcedTea 3.3.0) (Alpine 8.121.13-r0); OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
Starting server from /usr/lib/python3.5/site-packages/h2o/backend/bin/h2o.jar
Ice root: /tmp/tmph0ep1rpb
JVM stdout: /tmp/tmph0ep1rpb/h2o_unknownUser_started_from_python.out
JVM stderr: /tmp/tmph0ep1rpb/h2o_unknownUser_started_from_python.err
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/h2o/h2o.py", line 252, in init
"connected.", "not found."))
File "/usr/lib/python3.5/site-packages/h2o/backend/connection.py", line 318, in open
conn._cluster = conn._test_connection(retries, messages=_msgs)
File "/usr/lib/python3.5/site-packages/h2o/backend/connection.py", line 588, in _test_connection
% (self._base_url, max_retries, "\n".join(errors)))
h2o.exceptions.H2OConnectionError: Could not establish link to the H2O cloud http://127.0.0.1:54321 after 5 retries [56:36.65] H2OConnectionError: Unexpected HTTP error: HTTPConnectionPool(host='127.0.0.1', port=54321): Max retries exceeded with url: /3/Cloud (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93deb0fdd8>: Failed to establish a new connection: [Errno 111] Connection refused',))
[56:36.85] H2OConnectionError: Unexpected HTTP error: HTTPConnectionPool(host='127.0.0.1', port=54321): Max retries exceeded with url: /3/Cloud (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93deab0550>: Failed to establish a new connection: [Errno 111] Connection refused',))
[56:37.06] H2OConnectionError: Unexpected HTTP error: HTTPConnectionPool(host='127.0.0.1', port=54321): Max retries exceeded with url: /3/Cloud (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93deb0f5f8>: Failed to establish a new connection: [Errno 111] Connection refused',))
[56:37.26] H2OConnectionError: Unexpected HTTP error: HTTPConnectionPool(host='127.0.0.1', port=54321): Max retries exceeded with url: /3/Cloud (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93deab0358>: Failed to establish a new connection: [Errno 111] Connection refused',))
[56:37.46] H2OConnectionError: Unexpected HTTP error: HTTPConnectionPool(host='127.0.0.1', port=54321): Max retries exceeded with url: /3/Cloud (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93deab0c18>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "scriptPredictions.py", line 2, in <module>
h2o.init(ip="127.0.0.1",port="54321",max_mem_size = "1G")
File "/usr/lib/python3.5/site-packages/h2o/h2o.py", line 261, in init
min_mem_size=mmin, ice_root=ice_root, port=port, extra_classpath=extra_classpath)
File "/usr/lib/python3.5/site-packages/h2o/backend/server.py", line 121, in start
mmax=max_mem_size, mmin=min_mem_size)
File "/usr/lib/python3.5/site-packages/h2o/backend/server.py", line 317, in _launch_server
raise H2OServerError("Server process terminated with error code %d" % proc.returncode)
h2o.exceptions.H2OServerError: Server process terminated with error code -11