Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4598

upgrade-note.sh GitNotebookRepo cannot be cast to OldNotebookRepo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • NotebookRepo
    • None

    Description

      I'm trying to validate ZEPPELIN-4551

      Still I cannot migrate Notebooks from version 0.8.2 to 0.9 snapshot.

      I'm now encountering the following issue:

      ./upgrade-note.sh
       INFO [2020-02-07 08:57:30,469] ({main} ZeppelinConfiguration.java[create]:163) - Load configuration from file:/opt/zeppelin-0.9.0-SNAPSHOT/conf/zeppelin-site.xml
       INFO [2020-02-07 08:57:30,545] ({main} ZeppelinConfiguration.java[create]:171) - Server Host: 0.0.0.0
       INFO [2020-02-07 08:57:30,545] ({main} ZeppelinConfiguration.java[create]:173) - Server Port: 8080
       INFO [2020-02-07 08:57:30,545] ({main} ZeppelinConfiguration.java[create]:177) - Context Path: /
       INFO [2020-02-07 08:57:30,545] ({main} ZeppelinConfiguration.java[create]:178) - Zeppelin Version: 0.9.0-SNAPSHOT
       INFO [2020-02-07 08:57:30,549] ({main} PluginManager.java[loadNotebookRepo]:60) - Loading NotebookRepo Plugin: org.apache.zeppelin.notebook.repo.GitNotebookRepo
       INFO [2020-02-07 08:57:30,652] ({main} VFSNotebookRepo.java[setNotebookDirectory]:70) - Using notebookDir: /opt/NotebookRepo
       INFO [2020-02-07 08:57:30,824] ({main} GitNotebookRepo.java[init]:77) - Opening a git repo at '/opt/NotebookRepo'
       INFO [2020-02-07 08:57:30,981] ({main} PluginManager.java[loadOldNotebookRepo]:102) - Loading OldNotebookRepo Plugin: org.apache.zeppelin.notebook.repo.GitNotebookRepo
      Exception in thread "main" java.lang.ClassCastException: org.apache.zeppelin.notebook.repo.GitNotebookRepo cannot be cast to org.apache.zeppelin.notebook.repo.OldNotebookRepo
              at org.apache.zeppelin.plugin.PluginManager.loadOldNotebookRepo(PluginManager.java:107)
              at org.apache.zeppelin.notebook.repo.NotebookRepoSync.convertNoteFiles(NotebookRepoSync.java:110)
              at org.apache.zeppelin.notebook.repo.UpgradeNoteFileTool.main(UpgradeNoteFileTool.java:42)
      

      Can you please have a look.

      thanks

      Attachments

        Issue Links

          Activity

            People

              zjffdu Jeff Zhang
              dammeax Axel Van Damme
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h