Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD3D2EDDA for ; Sat, 16 Mar 2013 05:48:21 +0000 (UTC) Received: (qmail 84842 invoked by uid 500); 16 Mar 2013 05:48:19 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 84791 invoked by uid 500); 16 Mar 2013 05:48:19 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 84768 invoked by uid 99); 16 Mar 2013 05:48:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Mar 2013 05:48:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.139.213.162] (HELO nm19-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.162) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 16 Mar 2013 05:48:12 +0000 Received: from [98.139.212.148] by nm19.bullet.mail.bf1.yahoo.com with NNFMP; 16 Mar 2013 05:47:51 -0000 Received: from [98.139.212.198] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 16 Mar 2013 05:47:51 -0000 Received: from [127.0.0.1] by omp1007.mail.bf1.yahoo.com with NNFMP; 16 Mar 2013 05:47:51 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 75736.5171.bm@omp1007.mail.bf1.yahoo.com Received: (qmail 57154 invoked by uid 60001); 16 Mar 2013 05:47:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1363412870; bh=e/ytKYlcJhLeTfRtGddNoGSBiWMjFtnX77kdV2qWQ1s=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=A3hu7VAT+Q4MTq60mnAlSMSRuf9Vd8iwrBqnAaHFpvtj98OwtWt5arjeuFV1Ih+z/0bDe9zn6NhKcMto9Ndvc9ZifpVTIDG8bfNRW5TKMy2MCzdVLsOLywQ++OGcKIATln+sWBw43xHdgFv6WV+rBuRdEM8vyR57OfR6zjK2xvY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=xrU/YrYMogh8umTEX6q3c+qnjw6r9EUVVCkEWKAFMc5l6aFPOh2xqVsp0O4FYCZROgexF+qC+BCYtQSfjsG31jaFT/q69HoNxFGpxDnhQ1qcPUi5rsIc5eQk0K8rZwkNu0gS0At8kSImD9z2Gcat8Hu59eOxQyvTkVSZM8jSl9Q=; X-YMail-OSG: dvmuX5oVM1nwTjFdBlh6e9osB8x1oocinkn5GpQDhJJMGV0 72JwOYVwX5Ul8D21i4JGrQlVgeKzxrVBEBGu25vhuvW2IV3eWK_wV3CJtT9j dGMVrOKb_C8B1prc_uFzeZCk9iFqjPMyGbTawQKDtHRtD49x4AsBAOInkTYe xqzDb._BIWHlZD17xxho_FCS97Y0PryT6NnNSXdeqn0H.BwMc94wxVJTtJc. hIDXcWum0WBXmY.BQm.0gt2cdX_WbXTGACFITIcIJrWyZJjvT1Ra9iFdyX4s OZuQRlgAldvfbq0pKMPuhJHYMIOQciRh45Iy2NCWTHr4kUE_gJaRDXa18fvQ rkz7wbl0fkeNFpDrJ.YnQst8N02JkI1uObDg0S4WnywaaOnQ0KoE8eSWhzqf WJ_.hy0sCds7CWlFfxnAfRTh2SUaE8Wif5w8NQamHlZ25T5.xZL9Tnoh5Iix kd2_voebloIIP5fand9ZKp7tbJYnM0LfnvzFAuw9cqMubHLJ8mHa.mU0c.7P DlJW2cgMC.q1NC2EMzlzz.fkrHofTEm4f1REITEQX7.dMx_o_wt7S8_dTQwU .gbUzIMpG3uSMZlJkzHskZh9HcHbU Received: from [24.130.114.129] by web140606.mail.bf1.yahoo.com via HTTP; Fri, 15 Mar 2013 22:47:50 PDT X-Rocket-MIMEInfo: 002.001,VGhhdCdzIGludGVyZXN0aW5nLiBJcyBqcnVieSBwbGFjaW5nIGdlbmVyYXRlZCBieXRlY29kZSBpbnRvIC90bXA_IEV2ZW4gdGhlbiBpdCB3b3VsZG4ndCBiZSBleGVjdXRpbmcgaXQgZGlyZWN0bHkuCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCiBGcm9tOiBKZWFuLU1hcmMgU3BhZ2dpYXJpIDxqZWFuLW1hcmNAc3BhZ2dpYXJpLm9yZz4KVG86IHVzZXIgPHVzZXJAaGJhc2UuYXBhY2hlLm9yZz4gClNlbnQ6IEZyaWRheSwgTWFyY2ggMTUsIDIwMTMgNzozOCBQTQpTdWJqZWN0OiBSZTogVGUBMAEBAQE- X-RocketYMMF: lhofhansl X-Mailer: YahooMailWebService/0.8.137.519 References: Message-ID: <1363412870.55744.YahooMailNeo@web140606.mail.bf1.yahoo.com> Date: Fri, 15 Mar 2013 22:47:50 -0700 (PDT) From: lars hofhansl Reply-To: lars hofhansl Subject: Re: TestShell and shell issues. To: "user@hbase.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1905101558-1321417602-1363412870=:55744" X-Virus-Checked: Checked by ClamAV on apache.org --1905101558-1321417602-1363412870=:55744 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable That's interesting. Is jruby placing generated bytecode into /tmp? Even the= n it wouldn't be executing it directly.=0A=0A=0A=0A________________________= ________=0A From: Jean-Marc Spaggiari =0ATo: user = =0ASent: Friday, March 15, 2013 7:38 PM=0ASubject: = Re: TestShell and shell issues.=0A =0AFixed.=0A=0AIssue was not because of = Ruby or anything like that.=0A=0AWas simply because my tmp director was mou= nted with noexec (for security).=0A=0AMounting it with exec allows the test= s to pass.=0A=0A-------------------------------------------------------=0AT= E S T S=0A-------------------------------------------------------=0ARunnin= g org.apache.hadoop.hbase.client.TestShell=0ATests run: 1, Failures: 0, Err= ors: 0, Skipped: 0, Time elapsed: 92.454 sec=0A=0AResults :=0A=0ATests run:= 1, Failures: 0, Errors: 0, Skipped: 0=0A=0A[INFO]=0A[INFO] --- maven-suref= ire-plugin:2.10:test (secondPartTestsExecution)=0A@ hbase ---=0A[INFO] Test= s are skipped.=0A[INFO] ---------------------------------------------------= ---------------------=0A[INFO] BUILD SUCCESS=0A[INFO] ---------------------= ---------------------------------------------------=0A[INFO] Total time: 1:= 39.987s=0A[INFO] Finished at: Fri Mar 15 22:35:03 EDT 2013=0A[INFO] Final M= emory: 25M/437M=0A[INFO] --------------------------------------------------= ----------------------=0A=0AJM=0A=0A2013/3/15 Jean-Marc Spaggiari :=0A> I faced some issues today when running the TestShell.= =0A>=0A> I tried the shell too and it's not working.=0A>=0A> Based on the l= ogs, HBase seems to be working fine, but the shell is not=0A>=0A> jmspaggi@= hbasetest:~/hbase/hbase-0.94.6$ bin/hbase shell=0A> java.lang.RuntimeExcept= ion: java.lang.UnsatisfiedLinkError:=0A> /run/shm/tmp/jffi76821897827869519= 05.tmp:=0A> /run/shm/tmp/jffi7682189782786951905.tmp: failed to map segment= from=0A> shared object: Operation not permitted=0A>=A0 =A0 =A0 =A0 at com= .kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90)=0A>= =A0 =A0 =A0 =A0 at com.kenai.jffi.Foreign.getInstance(Foreign.java:95)=0A>= =A0 =A0 =A0 =A0 at com.kenai.jffi.Library.openLibrary(Library.java:151)=0A= > ...=0A>=0A> Which is strange since I'm able to access this file:=0A>=0A> = jmspaggi@hbasetest:~/hbase/hbase-0.94.6$ touch=0A> /run/shm/tmp/jffi7682189= 782786951905.tmp=0A> jmspaggi@hbasetest:~/hbase/hbase-0.94.6$=0A>=0A>=0A> R= egarding the rights on the directory:=0A> jmspaggi@hbasetest:~/hbase/hbase-= 0.94.6$ ll /run/shm/=0A> total 0=0A> drwxrwxrwx 20 root root 500 mar 15 21:= 57 tmp=0A>=0A> The shell entire strack trace is available there: http://pas= tebin.com/bW85UNKb=0A>=0A> My tmp folder is mapped to /run/shm to increase = perfomances and there=0A> is 8GB available on this tmp drive. So it's not a= disk space issue.=0A>=0A> If I remove the mapping to the memory drive and = I use the hard drive=0A> for the tmp folder,=0A> --------------------------= -----------------------------=0A>=A0 T E S T S=0A> ------------------------= -------------------------------=0A> Running org.apache.hadoop.hbase.client.= TestShell=0A> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapse= d: 92.817 sec=0A>=0A> Results :=0A>=0A> Tests run: 1, Failures: 0, Errors: = 0, Skipped: 0=0A>=0A> [INFO]=0A> [INFO] --- maven-surefire-plugin:2.10:test= (secondPartTestsExecution)=0A> @ hbase ---=0A> [INFO] Tests are skipped.= =0A> [INFO] ---------------------------------------------------------------= ---------=0A> [INFO] BUILD SUCCESS=0A> [INFO] -----------------------------= -------------------------------------------=0A> [INFO] Total time: 1:40.425= s=0A> [INFO] Finished at: Fri Mar 15 22:04:36 EDT 2013=0A> [INFO] Final Mem= ory: 26M/437M=0A> [INFO] --------------------------------------------------= ----------------------=0A>=0A> So something is not working on a memory driv= e, and I think it's more=0A> related to Ruby than HBase...=0A>=0A> JM --1905101558-1321417602-1363412870=:55744--