You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by YouPeng Yang <yy...@gmail.com> on 2013/11/14 16:25:48 UTC

NoClassDefFoundError in eclipse plugin

Hi

  I'm building a eclipse plugin  for the hadoop-2.2.0.
  It come out an NoClassDefFoundError[1] exception even I have put the jar
in the classpath.
 Would  anybody  give some suggestions?

Regard


[1]----------------------------------------------------------------------------------------------------------------

java.lang.NoClassDefFoundError:
org/apache/hadoop/security/authentication/util/KerberosName
    at
org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214)
    at
org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:277)
    at
org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:629)
    at
org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:534)
    at
org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2373)
    at
org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2365)
    at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2233)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:300)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:156)
    at
org.apache.hadoop.eclipse.server.HadoopServer.getDFS(HadoopServer.java:470)
    at org.apache.hadoop.eclipse.dfs.DFSPath.getDFS(DFSPath.java:146)
    at
org.apache.hadoop.eclipse.dfs.DFSFolder.loadDFSFolderChildren(DFSFolder.java:61)
    at org.apache.hadoop.eclipse.dfs.DFSFolder$1.run(DFSFolder.java:178)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)