Is there a way to start an h2o instance interface on a specific node of a cluster? For example...
When using the command:
$ hadoop jar h2odriver.jar -nodes 4 -mapperXmx 6g -output hdfsOutputDir
from say in the h2o install directory, in say node 172.18.4.62, I get the (abridged) output:
....
H2O node 172.18.4.65:54321 reports H2O cluster size 1
H2O node 172.18.4.66:54321 reports H2O cluster size 1
H2O node 172.18.4.67:54321 reports H2O cluster size 1
H2O node 172.18.4.63:54321 reports H2O cluster size 1
H2O node 172.18.4.63:54321 reports H2O cluster size 4
H2O node 172.18.4.66:54321 reports H2O cluster size 4
H2O node 172.18.4.67:54321 reports H2O cluster size 4
H2O node 172.18.4.65:54321 reports H2O cluster size 4
H2O cluster (4 nodes) is up
(Note: Use the -disown option to exit the driver after cluster formation)
Open H2O Flow in your web browser: http://172.18.4.65:54321
(Press Ctrl-C to kill the cluster)
Blocking until the H2O cluster shuts down...
And from a python script that wants to connect to the h2o instance, I would do something like:
h2o.init(ip="172.18.4.65")
to connect to the h2o instance. However, it would be better to be able to control which address the h2o instance connection sits at.
Is there a way to do this? Is this question confused/wrong-headed? My overall goal is to have the python script run periodically, start an h2o cluster, do stuff on that cluster then shut the cluster down (not being able to know the address to use to connect to the cluster means the script would never be sure which address to connect to). Any advice would be appreciated. Thanks.