You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Anchal Agarwal (Jira)" <ji...@apache.org> on 2020/10/28 08:04:00 UTC

[jira] [Created] (ZEPPELIN-5112) upgrade-note.sh throws exception while upgrading notes on hdfs storage

Anchal Agarwal created ZEPPELIN-5112:
----------------------------------------

             Summary: upgrade-note.sh throws exception while upgrading notes on hdfs storage  
                 Key: ZEPPELIN-5112
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5112
             Project: Zeppelin
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Anchal Agarwal


With zeppelin version 0.9.0-preview2, I'm able to read, write and execute new notebooks. But while trying to upgrade existing notes from version 0.8.1 to version 0.9.0-preview2, I get this exception when I run bin/upgrade-note.sh:
{code:java}
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/security/UserGroupInformation
	at org.apache.zeppelin.notebook.FileSystemStorage.<clinit>(FileSystemStorage.java:43)
	at org.apache.zeppelin.notebook.repo.FileSystemNotebookRepo.init(FileSystemNotebookRepo.java:49)
	at org.apache.zeppelin.notebook.repo.NotebookRepoSync.init(NotebookRepoSync.java:84)
	at org.apache.zeppelin.notebook.repo.NotebookRepoSync.<init>(NotebookRepoSync.java:64)
	at org.apache.zeppelin.notebook.repo.UpgradeNoteFileTool.main(UpgradeNoteFileTool.java:41)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.security.UserGroupInformation
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
	... 5 more
{code}
 I'm storing notebooks on hdfs and my zeppelin-env.sh has the required env variable:
{code:java}
#!/bin/bash
export USE_HADOOP=true
{code}



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