Uh oh!
There was an error while loading. Please reload this page.
feat: use ZEPPELIN_HOSTNAME to specify hostname - #221
Conversation
ZEPPELIN_HOSTNAME supports running Zeppelin in environments where the hostname of the server does not match the hostname delivered to the browser. If ZEPPELIN_HOSTNAME is not set, java.net.InetAddress. getLocalHost().getHostName() is still used to lookup the server's current hostname. NotebookServerTests was renamed to NotebookServerTest to permit the test cases to run using Maven's test goal.
djoelz
commented
Aug 17, 2015
Thanks for fixing my bug :) |
jonbuffington
commented
Aug 18, 2015
Appreciate the feedback. Do you have any guidance on using ZeppelinConfiguration instead of an environment variable? I implemented ZEPPELIN_HOSTNAME as an environment variable to ease packaging in a docker image. |
Leemoonsoo
commented
Aug 18, 2015
This is where you can define your variable in ZeppelinConfiguration This is how to read the variable |
djoelz
commented
Aug 18, 2015
@jonbuffington what @Leemoonsoo said. Let me know if you need any help with this as I am responsable for the issue :D |
jonbuffington
commented
Aug 19, 2015
@djoelz Unfortunately, I am booked till this weekend. If you would like to make the changes, it would be appreciated. |
jonbuffington
commented
Aug 19, 2015
@Leemoonsoo Thanks for the pointers! |
djoelz
commented
Aug 19, 2015
@jonbuffington@Leemoonsoo don't worry guys I will make the fix. Will create a separate PR. |
Leemoonsoo
commented
Aug 20, 2015
The same issue is also being taken care of, by #235. |
jonbuffington
commented
Aug 21, 2015
I am closing this in favor of #235. |
ZEPPELIN_HOSTNAME supports running Zeppelin in environments where the
hostname of the server does not match the hostname delivered to the
browser. If ZEPPELIN_HOSTNAME is not set, java.net.InetAddress.
getLocalHost().getHostName() is still used to lookup the server's
current hostname.
NotebookServerTests was renamed to NotebookServerTest to permit the
test cases to run using Maven's test goal.
Fixes https://issues.apache.org/jira/browse/ZEPPELIN-231