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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.2, 0.7.0
    • None
    • conf, zeppelin-server
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Tagar Ruslan Dautkhanov
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: