Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1660

Home directory references (i.e. ~/zeppelin/) in zeppelin-env.sh don't work as expected

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.6.2, 0.7.0
    • Fix Version/s: None
    • Component/s: conf, zeppelin-server
    • Labels:
      None
    • Environment:

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Tagar Ruslan Dautkhanov

              Dates

              • Created:
                Updated:

                Issue deployment