Skip to content

Commit

Permalink
[LIVY-560] Added support for hostnames that resolve to an external ad…
Browse files Browse the repository at this point in the history
…dress
  • Loading branch information
smrtl committed Jun 6, 2019
1 parent 5abc043 commit 11a121b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rsc/src/main/java/org/apache/livy/rsc/RSCConf.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ public String findLocalAddress() throws IOException {
}
}
}
} else {
LOG.warn("Your hostname, {}, resolves to an external address; using {}.",
address.getCanonicalHostName(), address.getHostAddress());
return address.getHostAddress();
}

LOG.warn("Your hostname, {}, resolves to a loopback address, but we couldn't find "
Expand Down

0 comments on commit 11a121b

Please sign in to comment.