Skip to content

Commit

Permalink
[SW-1565] startWorkerNodes and startClient was returning hostanem ins…
Browse files Browse the repository at this point in the history
…tead of ip address (#1477)

(cherry picked from commit f6c33b3)
  • Loading branch information
jakubhava committed Aug 28, 2019
1 parent 76e3aa5 commit d6aa9ad
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -113,7 +113,7 @@ object InternalH2OBackend extends Logging {
val launcherArgs = InternalBackendUtils.toH2OArgs(args)

H2OStarter.start(launcherArgs, false)
NodeDesc(SparkEnv.get.executorId, H2O.SELF_ADDRESS.getHostName, H2O.API_PORT)
NodeDesc(SparkEnv.get.executorId, H2O.SELF_ADDRESS.getHostAddress, H2O.API_PORT)
}


Expand All @@ -122,7 +122,7 @@ object InternalH2OBackend extends Logging {
val launcherArgs = InternalBackendUtils.toH2OArgs(args)

H2OStarter.start(launcherArgs, true)
NodeDesc(SparkEnv.get.executorId, H2O.SELF_ADDRESS.getHostName, H2O.API_PORT)
NodeDesc(SparkEnv.get.executorId, H2O.SELF_ADDRESS.getHostAddress, H2O.API_PORT)
}

private def startH2OClient(conf: H2OConf, nodes: Array[NodeDesc]): NodeDesc = {
Expand Down

0 comments on commit d6aa9ad

Please sign in to comment.