hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject NoClassDefFoundError: com.sun.security.auth .NTUserPrincipal
Date Wed, 22 Aug 2012 04:52:59 GMT
Hi,
When using HBase 0.92 jar on IBM JVM, we saw the following exception:

Setting up data table [qa_id1] for environment [qa] if necessary.
Reading from Hbase properties file...
Exception in thread "main" java.lang.NoClassDefFoundError:
com.sun.security.auth
.NTUserPrincipal
        at
org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInf
ormation.java:310)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:599)
        at org.apache.hadoop.hbase.util.Methods.call(Methods.java:37)
        at org.apache.hadoop.hbase.security.User.call(User.java:586)
        at org.apache.hadoop.hbase.security.User.callStatic(User.java:576)
        at org.apache.hadoop.hbase.security.User.access$400(User.java:50)
        at
org.apache.hadoop.hbase.security.User$SecureHadoopUser.<init>(User.ja
va:393)
        at
org.apache.hadoop.hbase.security.User$SecureHadoopUser.<init>(User.ja
va:388)
        at org.apache.hadoop.hbase.security.User.getCurrent(User.java:139)
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionKey.<ini
t>(HConnectionManager.java:412)
        at
org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConn
ectionManager.java:182)
        at
org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:98)
        at
com.ebay.evps.hb.EPSAdminToolTest.createBaseTableIfNeeded(EPSAdminToo
lTest.java:242)
        at
com.ebay.evps.hb.EPSAdminToolTest.setupEnvironments(EPSAdminToolTest.
java:167)
        at com.ebay.evps.hb.EPSAdminToolTest.main(EPSAdminToolTest.java:53)
Caused by: java.lang.ClassNotFoundException:
com.sun.security.auth.NTUserPrincip
al
        at java.net.URLClassLoader.findClass(URLClassLoader.java:419)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:320)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
        ... 20 more

I wonder if anyone has experienced similar problem before.

Your feedback would be appreciated.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message