Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9.0
-
None
-
None
Description
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:
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
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.