Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1592BFB24 for ; Fri, 29 Mar 2013 19:41:17 +0000 (UTC) Received: (qmail 81791 invoked by uid 500); 29 Mar 2013 19:41:16 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 81738 invoked by uid 500); 29 Mar 2013 19:41:16 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 81556 invoked by uid 99); 29 Mar 2013 19:41:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 19:41:16 +0000 Date: Fri, 29 Mar 2013 19:41:16 +0000 (UTC) From: "Cheng Xu (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ACCUMULO-1226) simple.nativeMap.NativeMapTest FAILS to link libNativeMap-Linux-amd64-64.so MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.(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.(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.(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.(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