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

Cheng Xu commented on ACCUMULO-1226:
------------------------------------

I used the RPM built from BigTop.  
                
> simple.nativeMap.NativeMapTest FAILS to link libNativeMap-Linux-amd64-64.so
> ---------------------------------------------------------------------------
>
>                 Key: ACCUMULO-1226
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1226
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.4.2
>         Environment: Hortonworks Data Platform 1.1.2
>            Reporter: Cheng Xu
>            Assignee: John Vines
>
> 14:05:24 runTest (simple.nativeMap.NativeMapTest) ........................... 
> DEBUG:test.auto:localhost: /usr/lib/accumulo/bin/accumulo 
> org.apache.accumulo.server.test.functional.NativeMapTest
> DEBUG:test.auto:Waiting for /usr/lib/accumulo/bin/accumulo 
> org.apache.accumulo.server.test.functional.NativeMapTest to stop in 20 secs
> DEBUG:test.auto:out: 2013-03-26 14:05:25,493 tabletserver.NativeMap ERROR: 
> Failed to load native map library 
> /usr/lib/accumulo/lib/native/map/libNativeMap-Linux-amd64-64.so
> java.lang.UnsatisfiedLinkError: Can't load library: 
> /usr/lib/accumulo/lib/native/map/libNativeMap-Linux-amd64-64.so
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
> at java.lang.Runtime.load0(Runtime.java:770)
> at java.lang.System.load(System.java:1005)
> 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.test.functional.NativeMapTest.setUp(NativeMapTest.java:111)
> at 
> org.apache.accumulo.server.test.functional.NativeMapTest.main(NativeMapTest.java:75)
> 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.re
> DEBUG:test.auto:out: flect.Method.invoke(Method.java:597)
> at org.apache.accumulo.start.Main$1.run(Main.java:89)
> at java.lang.Thread.run(Thread.java:619)
> DEBUG:test.auto:err: Thread 
> "org.apache.accumulo.server.test.functional.NativeMapTest" died null
> DEBUG:test.auto:err: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> DEBUG:test.auto:err: 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:619)
> Caused by: java.lang.UnsatisfiedLinkError: 
> org.apache.accumulo.server.tabletserver.NativeMap.createNM()J
> DEBUG:test.auto:err: at 
> org.apache.accumulo.server.tabletserver.NativeMap.createNM(Native Method)
> at 
> org.apache.accumulo.server.tabletserver.NativeMap.createNativeMap(NativeMap.java:114)
> at 
> org.apache.accumulo.server.tabletserver.NativeMap.<init>(NativeMap.java:429)
> at 
> org.apache.accumulo.server.test.functional.NativeMapTest.test1(NativeMapTest.java:264)
> DEBUG:test.auto:err: at 
> org.apache.accumulo.server.test.functional.NativeMapTest.main(NativeMapTest.java:77)
> ... 6 more
> DEBUG:test.auto:Output from command: 2013-03-26 14:05:25,493 
> tabletserver.NativeMap ERROR: Failed to load native map library 
> /usr/lib/accumulo/lib/native/map/libNativeMap-Linux-amd64-64.so
> java.lang.UnsatisfiedLinkError: Can't load library: 
> /usr/lib/accumulo/lib/native/map/libNativeMap-Linux-amd64-64.so
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
> at java.lang.Runtime.load0(Runtime.java:770)
> at java.lang.System.load(System.java:1005)
> 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.test.functional.NativeMapTest.setUp(NativeMapTest.java:111)
> at 
> org.apache.accumulo.server.test.functional.NativeMapTest.main(NativeMapTest.java:75)
> 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:619)
> ERROR:test.auto:This looks like a stack trace: Thread 
> "org.apache.accumulo.server.test.functional.NativeMapTest" died null
> java.lang.reflect.InvocationTargetException
> 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:619)
> Caused by: java.lang.UnsatisfiedLinkError: 
> org.apache.accumulo.server.tabletserver.NativeMap.createNM()J
> at org.apache.accumulo.server.tabletserver.NativeMap.createNM(Native Method)
> at 
> org.apache.accumulo.server.tabletserver.NativeMap.createNativeMap(NativeMap.java:114)
> at 
> org.apache.accumulo.server.tabletserver.NativeMap.<init>(NativeMap.java:429)
> at 
> org.apache.accumulo.server.test.functional.NativeMapTest.test1(NativeMapTest.java:264)
> at 
> org.apache.accumulo.server.test.functional.NativeMapTest.main(NativeMapTest.java:77)
> ... 6 more
> FAIL
> ======================================================================
> FAIL: runTest (simple.nativeMap.NativeMapTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/accumulo/test/system/auto/simple/nativeMap.py", line 34, in 
> runTest
> self.waitForStop(handle, 20)
> File "/usr/lib/accumulo/test/system/auto/TestUtils.py", line 383, in 
> waitForStop
> self.assert_(self.processResult(out, err, handle.returncode))
> AssertionError
> ======================================================================
> FAIL: runTest (simple.nativeMap.NativeMapTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/accumulo/test/system/auto/simple/nativeMap.py", line 34, in 
> runTest
> self.waitForStop(handle, 20)
> File "/usr/lib/accumulo/test/system/auto/TestUtils.py", line 383, in 
> waitForStop
> self.assert_(self.processResult(out, err, handle.returncode))
> AssertionError
> ----------------------------------------------------------------------
> Ran 1 test in 0.605s
> FAILED (failures=1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to