accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cornish, Duane C." <>
Subject RE: tabletserver Error
Date Fri, 14 Sep 2012 19:59:26 GMT
Thanks, Eric.  I'll look into trying that.

From: Eric Newton []
Sent: Friday, September 14, 2012 3:53 PM
Subject: Re: tabletserver Error

I don't know why your servers are showing up with weird names, but you can ignore "Failed
to load native map library /usr/local/accumulo-1.4.1/lib/native/map/"
 The server will use the non-native implementation.

The java implementation of the internal map uses JVM heap memory, but the native version uses
memory outside of the JVM.  That's why the two configurations give the JVM different amounts
of memory.

You can always rebuild the native code for your environment so that it loads:

 $ cd ./src/server/src/main/c++
# ensure the sources are newer than the libraries
 $ find . -name '*.h' -print | xargs touch
# rebuild: need to have developer tools installed
 $ make JAVA_HOME=/path/to/java/home


On Fri, Sep 14, 2012 at 3:42 PM, Cornish, Duane C. <<>>

I have a 4 node cluster runing Accumulo.  I have it configured so that 1 node is the master
and all 4 nodes also act as slaves.  The cloud seems to work fine.  I can ingest and query
data.  When I view my Accumulo monitor page, it tells me that I have 4 tablet servers.  If
I click to view the 4, it has the name of my node 1 twice and only 2 of the other nodes up
and running as tables servers.  My node 2 does not appear.

I checked my tserver debug.log file on node 2 and I see the following error:

[tabletserver.NativeMap] ERROR: Failed to load native map library /usr/local/accumulo-1.4.1/lib/native/map/

java.lang.UnsatisfiedLinkError: /usr/local/accumulo-1.4.1/lib/native/map/
/usr/lib64/ version `GLIBCXX_3.4.9' not found (required by /usr/local/accumulo-1.4.1/lib/native/map/
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(
        at java.lang.ClassLoader.loadLibrary(
        at java.lang.Runtime.load0(
        at java.lang.System.load(
        at org.apache.accumulo.server.tabletserver.NativeMap.loadNativeLib(
        at org.apache.accumulo.server.tabletserver.NativeMap.<clinit>(
        at org.apache.accumulo.server.tabletserver.TabletServerResourceManager.<init>(
        at org.apache.accumulo.server.tabletserver.TabletServer.config(
        at org.apache.accumulo.server.tabletserver.TabletServer.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.accumulo.start.Main$

My node 2 does contain the file.  I have read that there are differences between
the native and standalone example configuration files in the conf/examples/ folder.  However,
I was unable to see any major differences.  The only difference I saw was a line that I thought
referred to size requirements:

-Xms1g -Xss128k"


-Xms2g -Xss128k"

My file contains the first line as opposed to the second.  Any help on my
error would be much appreciated.


View raw message