H2O: unable to connect to h2o cluster through python
<p>I have a 5 node hadoop cluster running HDP 2.3.0. I setup a H2O cluster on Yarn as described <a href="http://docs.h2o.ai/h2oclassic/deployment/hadoop_tutorial.html" rel="nofollow">here</a>.</p>

<p>On running following command </p>

<p><code>hadoop jar h2odriver_hdp2.2.jar water.hadoop.h2odriver -libjars ../h2o.jar -mapperXmx 512m -nodes 3 -output /user/hdfs/H2OTestClusterOutput</code></p>

<p>I get the following ouput</p>

<pre><code>H2O cluster (3 nodes) is up
(Note: Use the -disown option to exit the driver after cluster formation)
(Press Ctrl-C to kill the cluster)
Blocking until the H2O cluster shuts down...
</code></pre>

<p>When I try to execute the command </p>

<p><code>h2o.init(ip="10.113.57.98", port=54321)</code></p>

<p>The process remains stuck at this stage.On trying to connect to the web UI using the ip:54321, the browser tries to endlessly load the H2O admin page but nothing ever displays.</p>

<p>On forcefully terminating the init process I get the following error</p>

<pre><code>No instance found at ip and port: 10.113.57.98:54321. Trying to start local jar...
</code></pre>

<p>However if I try and use H2O with python without setting up a H2O cluster, everything runs fine.</p>

<p>I executed all commands as the root user. Root user has permissions to read and write from the /user/hdfs hdfs directory.</p>

<p>I'm not sure if this is a permissions error or that the port is not accessible.</p>

<p>Any help would be greatly appreciated.</p>