Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.0
-
None
-
I'm running Zeppelin in a container environnent.
Description
I want to upgrade from Zeppelin 0.8.2 to Zeppelin 0.9.0-snapshot
I've compiled latest source code
mvn clean package -Pbuild-distr -DskipTests -Pspark-2.4 -Phadoop-2.7 -Pr -Pscala-2.11 -pl '!r'
Once installed it starts ok, but when it comes to upgrade the notebooks executing bin/upgrade-note.sh -d fails.
Here is the command output:
bin/upgrade-note.sh INFO [2020-01-09 17:26:11,237] ({main} ZeppelinConfiguration.java[create]:163) - Load configuration from file:/opt/zeppelin-0.9.0-SNAPSHOT/conf/zeppelin-site.xml INFO [2020-01-09 17:26:11,317] ({main} ZeppelinConfiguration.java[create]:171) - Server Host: 0.0.0.0 INFO [2020-01-09 17:26:11,318] ({main} ZeppelinConfiguration.java[create]:173) - Server Port: 8080 INFO [2020-01-09 17:26:11,318] ({main} ZeppelinConfiguration.java[create]:177) - Context Path: / INFO [2020-01-09 17:26:11,318] ({main} ZeppelinConfiguration.java[create]:178) - Zeppelin Version: 0.9.0-SNAPSHOT INFO [2020-01-09 17:26:11,321] ({main} PluginManager.java[loadNotebookRepo]:60) - Loading NotebookRepo Plugin: org.apache.zeppelin.notebook.repo.GitNotebookRepo INFO [2020-01-09 17:26:11,438] ({main} VFSNotebookRepo.java[setNotebookDirectory]:70) - Using notebookDir: /opt/NotebookRepo INFO [2020-01-09 17:26:11,570] ({main} GitNotebookRepo.java[init]:77) - Opening a git repo at '/opt/NotebookRepo' INFO [2020-01-09 17:26:11,726] ({main} PluginManager.java[loadOldNotebookRepo]:102) - Loading OldNotebookRepo Plugin: org.apache.zeppelin.notebook.repo.GitNotebookRepo WARN [2020-01-09 17:26:11,726] ({main} PluginManager.java[getPluginClassLoader]:181) - PluginFolder /opt/zeppelin/plugins/NotebookRepo/GitNotebookRepo doesn't exist or is not a directory Exception in thread "main" java.lang.NullPointerException at org.apache.zeppelin.notebook.repo.NotebookRepoSync.convertNoteFiles(NotebookRepoSync.java:111) at org.apache.zeppelin.notebook.repo.UpgradeNoteFileTool.main(UpgradeNoteFileTool.java:42)
I've checked the content of the folder
root@zeppelin:/opt/zeppelin/plugins/NotebookRepo# ls -ltr total 28 drwxr-xr-x 2 root root 4096 Jan 9 13:47 ZeppelinHubRepo drwxr-xr-x 2 root root 4096 Jan 9 13:47 S3NotebookRepo drwxr-xr-x 2 root root 4096 Jan 9 13:47 MongoNotebookRepo drwxr-xr-x 2 root root 4096 Jan 9 13:47 GitHubNotebookRepo drwxr-xr-x 2 root root 4096 Jan 9 13:47 GCSNotebookRepo drwxr-xr-x 2 root root 4096 Jan 9 13:47 FileSystemNotebookRepo drwxr-xr-x 2 root root 4096 Jan 9 13:47 AzureNotebookRepo
and indeed there is no GitNotebookRepo folder.
I think there is an issue in loadOldNotebookRepo while loadNotebookRepo seems to be ok.
Attachments
Issue Links
- links to