Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # user - NoClassDefFoundError in eclipse plugin


Copy link to this message
-
NoClassDefFoundError in eclipse plugin
YouPeng Yang 2013-11-14, 15:25
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)