[ 
https://issues.apache.org/jira/browse/ACCUMULO-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156957#comment-13156957
 ] 

Billie Rinaldi commented on ACCUMULO-185:
-----------------------------------------

You have to set JAVA_HOME for it to build; jni.h should be in the jdk.
                
> Error in tserver.log: Failed to load native map library 
> --------------------------------------------------------
>
>                 Key: ACCUMULO-185
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-185
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.3.5
>         Environment: CentOS release 5.6
> single node Accumulo setup
>            Reporter: Minh Duc Nguyen
>            Assignee: Keith Turner
>            Priority: Minor
>
> Getting this error in tserver.log:
> 23 17:13:58,614 [tabletserver.NativeMap] ERROR: Failed to load native map 
> library /opt/accumulo/lib/native/map/libNativeMap-Linux-amd64-64.so
> java.lang.UnsatisfiedLinkError: Can't load library: 
> /opt/accumulo/lib/native/map/libNativeMap-Linux-amd64-64.so
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
>         at java.lang.Runtime.load0(Runtime.java:770)
>         at java.lang.System.load(System.java:1003)
>         at 
> org.apache.accumulo.server.tabletserver.NativeMap.loadNativeLib(NativeMap.java:144)
>         at 
> org.apache.accumulo.server.tabletserver.NativeMap.<clinit>(NativeMap.java:156)
>         at 
> org.apache.accumulo.server.tabletserver.TabletServerResourceManager.<init>(TabletServerResourceManager.java:127)
>         at 
> org.apache.accumulo.server.tabletserver.TabletServer.config(TabletServer.java:2726)
>         at 
> org.apache.accumulo.server.tabletserver.TabletServer.main(TabletServer.java:2837)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.accumulo.start.Main$1.run(Main.java:89)
>         at java.lang.Thread.run(Thread.java:662)
> This file doesn't come packaged with Accumulo.  There is no lib/native 
> directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to