accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Turner <ke...@deenlo.com>
Subject Re: JniBasedUnixGroupsMapping.anchorNative()V Error when initializing MiniAccumuloCluster
Date Mon, 15 Jun 2015 20:13:57 GMT
The root cause of the problem is UnsatisfiedLinkError for
org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative(). What
hadoop shared library proved the implementation for that? Also, I though
the native libs in hadoop were optional?


On Mon, Jun 15, 2015 at 2:44 PM, Jeff N <mastergeek505@gmail.com> wrote:

> I'm using Accumulo 1.6 jar, Hadoop 1.2.2, and Zookeeper 3.4.5
>
> The issue arises when I attempt to initialize the MiniAccumuloCluster to be
> used in a Hadoop job test file.
>
> Thread "org.apache.accumulo.server.init.Initialize" died
> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> java.lang.RuntimeException: java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
>         at
> org.apache.accumulo.server.init.Initialize.main(Initialize.java:634)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.accumulo.start.Main$1.run(Main.java:141)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
>         at
>
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:131)
>         at org.apache.hadoop.security.Groups.<init>(Groups.java:55)
>         at
>
> org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:182)
>         at
>
> org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:235)
>         at
>
> org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214)
>         at
>
> org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:669)
>         at
>
> org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:571)
>         at
> org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2590)
>         at
> org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2582)
>         at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2448)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:367)
>         at org.apache.hadoop.fs.Path.getFileSystem(Path.java:287)
>         at
> org.apache.accumulo.core.volume.VolumeImpl.<init>(VolumeImpl.java:43)
>         at
>
> org.apache.accumulo.core.volume.VolumeConfiguration.create(VolumeConfiguration.java:155)
>         at
>
> org.apache.accumulo.server.fs.VolumeManagerImpl.get(VolumeManagerImpl.java:414)
>         at
> org.apache.accumulo.server.init.Initialize.main(Initialize.java:614)
>         ... 6 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>         at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>         at
>
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:129)
>         ... 21 more
> Caused by: java.lang.UnsatisfiedLinkError:
> org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative()V
>         at
> org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative(Native
> Method)
>         at
>
> org.apache.hadoop.security.JniBasedUnixGroupsMapping.<clinit>(JniBasedUnixGroupsMapping.java:49)
>         at
>
> org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.<init>(JniBasedUnixGroupsMappingWithFallback.java:38)
>         ... 26 more
>
> The Internet is less than helpful. Thoughts?
>
> - Jeff N.
>
>
>
> -----
>
>
>
> --
> View this message in context:
> http://apache-accumulo.1065345.n5.nabble.com/JniBasedUnixGroupsMapping-anchorNative-V-Error-when-initializing-MiniAccumuloCluster-tp14449.html
> Sent from the Developers mailing list archive at Nabble.com.
>

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