Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.6.2, 0.7.0
-
None
-
None
-
Java 7
RHEL 6
Description
We want to have template for Zeppelin conf files and a skelton of user-owned directories for each Zeppelin instance, so have to have configuration file zeppelin-env.sh to not have absolute paths, but relative to each user's home directory. "~" unix-type directory references don't work in Zeppelin.
Have following settings in zeppelin-env.sh that reference current user's home directory subdirectories under "zeppelin":
export ZEPPELIN_LOG_DIR="~/zeppelin/log" export ZEPPELIN_PID_DIR="~/zeppelin/run" export ZEPPELIN_WAR_TEMPDIR="~/zeppelin/tmp" export ZEPPELIN_NOTEBOOK_DIR="~/zeppelin/notebooks"
Attempt to start zeppelin.sh --config ~/zeppelin/conf/
shows
Log dir doesn't exist, create ~/zeppelin/log Pid dir doesn't exist, create ~/zeppelin/run Pid dir doesn't exist, create ~/zeppelin/notebooks
Zeppelin actually creates a directory names "~"/zeppelin (yes, with tilde character, with underneath directory named "zeppelin") in the current directory.
We want to have template for Zeppelin conf files and a skelton of user-owned directories for each Zeppelin instance, so have to have configuration file zeppelin-env.sh to not have absolute paths, but relative to each user's home directory. "~" unix-type directory references don't work in Zeppelin.
ps. We also tried to use "~user/zeppelin" - for the sake of completeness of the tests – the same issue.