You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Gaurangi Saxena (Jira)" <ji...@apache.org> on 2020/09/17 20:25:00 UTC

[jira] [Created] (ZEPPELIN-5051) Broken experience when using Git and GCS Notebooks together

Gaurangi Saxena created ZEPPELIN-5051:
-----------------------------------------

             Summary: Broken experience when using Git and GCS Notebooks together
                 Key: ZEPPELIN-5051
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5051
             Project: Zeppelin
          Issue Type: Bug
          Components: NotebookRepo, zeppelin-zengine
    Affects Versions: 0.9.0
            Reporter: Gaurangi Saxena


In [https://zeppelin.apache.org/docs/0.9.0-SNAPSHOT/setup/storage/storage.html#notebook-storage-in-google-cloud-storage] it is specified that we could use Git and GCS Notebooks simultaneously. However, when we do that existing notebooks in GCS buckets are not correctly pulled in on the web-server. Found the following in zeppelin logs:
{quote}INFO [2020-09-17 06:11:03,641] (\{ImmediateThread-1600323060115} NotebookRepoSync.java[sync]:301) - Note : /def_2FMVTY69J.zpln
 INFO [2020-09-17 06:11:03,744] (\{qtp542060780-16} PluginManager.java[loadNotebookRepo]:78) - Loading NotebookRepo Plugin: org.apache.zeppelin.notebook.repo.GitNotebookRepo
 INFO [2020-09-17 06:11:03,744] (\{qtp542060780-16} VFSNotebookRepo.java[setNotebookDirectory]:70) - Using notebookDir: /var/lib/zeppelin/notebook
 INFO [2020-09-17 06:11:03,745] (\{qtp542060780-16} GitNotebookRepo.java[init]:77) - Opening a git repo at '/var/lib/zeppelin/notebook'
ERROR [2020-09-17 06:11:03,745] (\{main} ZeppelinServer.java[main]:258) - Error while running jettyServer
java.lang.Exception: A MultiException has 2 exceptions. They are:
1. java.lang.NullPointerException
2. java.lang.IllegalStateException: Unable to perform operation: create on org.apache.zeppelin.notebook.repo.NotebookRepoSync
{quote}
 

Repro Steps:
 # Have pre-existing .zpln notebooks in a gcs buckets, say gs://demo/notebooks/zeppelin
 # In zeppelin-site.xml, add the following settings: {{zeppelin:zeppelin.notebook.gcs.dir=gs://demo/notebooks/zeppelin,\
zeppelin:zeppelin.notebook.storage=org.apache.zeppelin.notebook.repo.GCSNotebookRepo}}
 # {{Start a zeppelin server}}
 # Pre-existing notebooks will not show up on the UI.

 

Please note that this issue does not exist in earlier versions of zeppelin.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)