You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Cheng Xu (JIRA)" <ji...@apache.org> on 2013/03/29 20:41:16 UTC

[jira] [Resolved] (ACCUMULO-1226) simple.nativeMap.NativeMapTest FAILS to link libNativeMap-Linux-amd64-64.so

     [ https://issues.apache.org/jira/browse/ACCUMULO-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheng Xu resolved ACCUMULO-1226.
--------------------------------

    Resolution: Not A Problem

 Got it.  I used a build we had from a few weeks ago, and the native rpm wasn't there.  I didn't install the most recent build because the build would hang, during the make accumulo-rpm, at:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.966s
[INFO] Finished at: Fri Mar 29 19:11:41 PDT 2013
[INFO] Final Memory: 15M/375M
[INFO] ------------------------------------------------------------------------

but this is a separate issue. In fact, we're still seeing this hanging 9 out of 10 times.

However, installing the native rpm did do the trick.
                
> 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