java.lang.ClassNotFoundException: Class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not found

Google Groups | Sergej Fries | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problems with HBaseBolt

    Google Groups | 2 years ago | Sergej Fries
    java.lang.ClassNotFoundException: Class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not found

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      Class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not found

      at org.apache.hadoop.conf.Configuration.getClass()
    2. Hadoop
      UserGroupInformation.getCurrentUser
      1. org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2106)[OpenSOC-Topologies-0.5BETA.jar:na]
      2. org.apache.hadoop.security.Groups.<init>(Groups.java:70)[OpenSOC-Topologies-0.5BETA.jar:na]
      3. org.apache.hadoop.security.Groups.<init>(Groups.java:66)[OpenSOC-Topologies-0.5BETA.jar:na]
      4. org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:280)[OpenSOC-Topologies-0.5BETA.jar:na]
      5. org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:271)[OpenSOC-Topologies-0.5BETA.jar:na]
      6. org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:248)[OpenSOC-Topologies-0.5BETA.jar:na]
      7. org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:763)[OpenSOC-Topologies-0.5BETA.jar:na]
      8. org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:748)[OpenSOC-Topologies-0.5BETA.jar:na]
      9. org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:621)[OpenSOC-Topologies-0.5BETA.jar:na]
      9 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_67]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_67]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_67]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_67]
      4 frames
    4. HBase
      UserProvider.getCurrent
      1. org.apache.hadoop.hbase.util.Methods.call(Methods.java:39)[OpenSOC-Topologies-0.5BETA.jar:na]
      2. org.apache.hadoop.hbase.security.User.call(User.java:431)[OpenSOC-Topologies-0.5BETA.jar:na]
      3. org.apache.hadoop.hbase.security.User.callStatic(User.java:421)[OpenSOC-Topologies-0.5BETA.jar:na]
      4. org.apache.hadoop.hbase.security.User.access$200(User.java:49)[OpenSOC-Topologies-0.5BETA.jar:na]
      5. org.apache.hadoop.hbase.security.User$SecureHadoopUser.<init>(User.java:241)[OpenSOC-Topologies-0.5BETA.jar:na]
      6. org.apache.hadoop.hbase.security.User$SecureHadoopUser.<init>(User.java:236)[OpenSOC-Topologies-0.5BETA.jar:na]
      7. org.apache.hadoop.hbase.security.User.getCurrent(User.java:159)[OpenSOC-Topologies-0.5BETA.jar:na]
      8. org.apache.hadoop.hbase.security.UserProvider.getCurrent(UserProvider.java:86)[OpenSOC-Topologies-0.5BETA.jar:na]
      8 frames
    5. HBase - Client
      HTable.<init>
      1. org.apache.hadoop.hbase.client.HConnectionKey.<init>(HConnectionKey.java:70)[OpenSOC-Topologies-0.5BETA.jar:na]
      2. org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:271)[OpenSOC-Topologies-0.5BETA.jar:na]
      3. org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:197)[OpenSOC-Topologies-0.5BETA.jar:na]
      4. org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:159)[OpenSOC-Topologies-0.5BETA.jar:na]
      4 frames
    6. com.opensoc.hbase
      HBaseBolt.prepare
      1. com.opensoc.hbase.HTableConnector.<init>(HTableConnector.java:51)[OpenSOC-Topologies-0.5BETA.jar:na]
      2. com.opensoc.hbase.HBaseBolt.prepare(HBaseBolt.java:58)[OpenSOC-Topologies-0.5BETA.jar:na]
      2 frames
    7. backtype.storm.daemon
      executor$fn__3907$fn__3920.invoke
      1. backtype.storm.daemon.executor$fn__3907$fn__3920.invoke(executor.clj:732)[storm-core-0.9.3.2.2.6.0-2800.jar:0.9.3.2.2.6.0-2800]
      1 frame
    8. backtype.storm
      util$async_loop$fn__451.invoke
      1. backtype.storm.util$async_loop$fn__451.invoke(util.clj:463)[storm-core-0.9.3.2.2.6.0-2800.jar:0.9.3.2.2.6.0-2800]
      1 frame
    9. Clojure
      AFn.run
      1. clojure.lang.AFn.run(AFn.java:24)[clojure-1.5.1.jar:na]
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.7.0_67]
      1 frame