Community Articles

Find and share helpful community-sourced technical articles.
Labels (1)
New Contributor

Hi All, 
I have faced some issues. We want to dedicate one of the Zeppelin node to a different agency. So, if they create any notebook, those are getting synced to every one after a restart because we are using the central storage system as HDFS. So, Zeppelin nodes are picking all notebooks and interpreter settings from the HDFS single path. To avoid this, we isolated the settings and configurations by changing Zeppelin to use the local storage, so each node will act independently. For the same, the following are helpful steps in case anyone is facing the same. Thanks.

 

  1. Verify the procedures in a lower environment before executing the same in production.
    sudo -u <zeppelin-user> mkdir -p /var/lib/zeppelin/conf /var/lib/zeppelin/notebook
    kinit <zeppelin-user>
    hdfs dfs -get "/user/zeppelin/notebook/*" /var/lib/zeppelin/notebook
    hdfs dfs -get /user/zeppelin/conf/notebook-authorization.json /var/lib/zeppelin/conf​

     

  2. In the Zeppelin configuration page, search for and verify the following settings:
    zeppelin.notebook.storage=org.apache.zeppelin.notebook.repo.FileSystemNotebookRepo
    zeppelin.config.fs.dir = file:///var/lib/zeppelin/conf
    zeppelin.notebook.dir = file:///var/lib/zeppelin/notebook​
  3. If the settings are missing or incorrect, add or update them to the above values.
  4. In the Zeppelin UI, check the Interpreters page for any duplicate entries, If any.
    duplicates exist:
    1. Backup and then delete the interpreter.json file from HDFS
      (/user/zeppelin/conf/interpreter.json) and from the local
      filesystem on the Zeppelin server host (/var/lib/zeppelin/conf/interpreter.json).
    2. Restart the Zeppelin service in Ambari.
    3. In the Zeppelin UI, confirm that the duplicate entries no longer exist.
    4. If any custom interpreter settings are missing, add them again from the
      Interpreters page.
    5. Verify that your existing notebooks are still available.

Disclaimer: 

328 Views
0 Kudos
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.
Version history
Last update:
‎09-08-2021 04:25 AM
Updated by:
Top Kudoed Authors