I'm glad you got it working. There's an option to have the tablet server search for a port to use:
<property> <name>tserver.port.search</name> <value>true</value> </property> You must have had something using port 9997, perhaps you need to run netstat as root to see it? The build script in src/assembly will build the native libs, but you need C++ development tools installed (make, compiler, system headers, etc). -Eric On Tue, Mar 20, 2012 at 10:20 PM, Todd Stavish <[email protected]>wrote: > I got everything working. Accumlo runs on mapr! > > I mapped tserver.port.client to 9996 and copied the native libs from rc2. > > -Todd > > > > On Tue, Mar 20, 2012 at 6:14 PM, Todd Stavish <[email protected]> > wrote: > > Hello, > > > > I checked out trunk. Everything seems to build, except the native > > libraries. I tried mvn-2.2.1: 'clean install,' 'compile,' 'package -P > > assemble.' > > > > Questions: > > > > Do I need to run accumulo init again? > > > > Is it okay if I use my conf files from 1.4 rc2? > > > > I am also seeing failures on port 9997? According to netstat, nothing > > is on port 9997. Not sure if this is related to the library problem or > > not. > > > > From Logs: > > > > Port 9997 -> > > > > 20 17:25:53,990 [util.TServerUtils] INFO : Unable to use port 9997, > > retrying. (Thread Name = Thrift Client Server) > > > > > > Missing lib -> > > > > 20 17:25:53,722 [tabletserver.NativeMap] ERROR: Failed to load native > > map library > /opt/accumulo-1.4.0-incubating/lib/native/map/libNativeMap-Linux-amd64-64.so > > java.lang.UnsatisfiedLinkError: Can't load library: > > > /opt/accumulo-1.4.0-incubating/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:123) > > at > org.apache.accumulo.server.tabletserver.TabletServer.config(TabletServer.java:2983) > > at > org.apache.accumulo.server.tabletserver.TabletServer.main(TabletServer.java:3109) > > 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) > > > > > > > > > > Thanks, > > -Todd >
