Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A55681007B for ; Tue, 29 Oct 2013 19:16:18 +0000 (UTC) Received: (qmail 19174 invoked by uid 500); 29 Oct 2013 19:16:14 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 18924 invoked by uid 500); 29 Oct 2013 19:16:13 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 18917 invoked by uid 99); 29 Oct 2013 19:16:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2013 19:16:13 +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.138.90.152] (HELO nm4-vm2.bullet.mail.ne1.yahoo.com) (98.138.90.152) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2013 19:16:04 +0000 Received: from [98.138.101.132] by nm4.bullet.mail.ne1.yahoo.com with NNFMP; 29 Oct 2013 19:15:43 -0000 Received: from [98.138.101.173] by tm20.bullet.mail.ne1.yahoo.com with NNFMP; 29 Oct 2013 19:15:43 -0000 Received: from [127.0.0.1] by omp1084.mail.ne1.yahoo.com with NNFMP; 29 Oct 2013 19:15:43 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 97880.14148.bm@omp1084.mail.ne1.yahoo.com Received: (qmail 7342 invoked by uid 60001); 29 Oct 2013 19:15:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1383074143; bh=1KOdyIqt4FE/zDbFbrLOCXVAZbMsAyq0tmgTlLwtV6A=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=xbOTEJufAvrE+Rx6zcMFOSETFph6VhqqtrDem1xluQVafDSaxooKVCzxYJ4ckUvFGjZm3cInCT70MWBkBNf+31LRLOC/1oH2QVeN/PxKbUjOV8m5BTv0BMQeUTN6H8yasibDNVBDzV/UxqlLFPmAggB3OJGdKoz0WZLeu5FZVug= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=M6MtIRHLC8oAbmlA+gaEcK2sx+32ehfhWRfrYgf7l54lAfpyY0O1T3gzFPw/GOD44MQUGUrgjSCzwKOw0JlZbew1fVpyDKmRhnxbfFCU1EYcjWTau5tf0hh8g/EOReW0vGu+971I69/YLZom6WRBY1BFi9jnWEVaHPjkAjJlAF4=; X-YMail-OSG: umjgo0IVM1n2KIokpusXj0QNkDEJl9iudWjQX49h2NiHASh C8EpV.Vg42_fmVmBrCPdT77z33u6Uvbx7ATlDvsUku.krNkU3VSxadbspK3f mxXVwpOyR_GPe.0OwnOwmUa2m.lNmKcGkng6u0AmICjO6lI9EuvFy1UOkYOk 0ZIFMuAU0MnwUw4W0b52Xj.PiB2A4C5ux9xiQPdZ3ILF_mkINT80.kZ.PBSi fImdQvKiPgF3v8MOxDwpAaRtxT62XLAAqBbX8GMNPaUMGT5qHP4V3Kn8M6gx zrq0gZocEe_N_LR1vSgsIHIi4np.x2zAIaklt2cnFvdQSK3WgeLnaAG587Tu 8GPIVdIMKzjjOeJb6EwURdRyXZOme2PPLnYqtL7BGUm3RyTskRLAbeP80Ove EEC_aTZHLvOrJLV6Ok2hPtmf9pWP4Wi0EF3OABjp32Uph7k78QdtDVMtnJvb ealCsrB7TTy8APtllt1FWAkXUFD3.D95wSwf5gUHARjak9dIQXXUQMKLZJte yK7QmLoyYV3199PIanXH0NeD1WGV9__hy5E_VesHFi37DgX4Ldquc2bDM_gl r1OtTp2qAzLNQjNIq4ppCQg-- Received: from [129.42.208.183] by web120304.mail.ne1.yahoo.com via HTTP; Tue, 29 Oct 2013 12:15:42 PDT X-Rocket-MIMEInfo: 002.001,SGksCgpDYW4gc29tZW9uZSBoZWxwIG1lPyBJIGFtIHRyeWluZyB0byBidWlsZCBhbmQgY29tcGlsZSBoYWRvb3AgYWxvbmcgd2l0aCB0aGUgbmF0aXZlIMKgbGlicmFyeSBpbiBkZWJ1ZyBtb2RlIGJ1dCBhZnRlciBJIGZpbmlzaCBJIHJlYWxpemVkIGZyb20gdGhlIGNvbXBpbGVyIGxvZ3MgdGhhdCDCoHRoZSBuYXRpdmUgbGlicmFyaWVzIGFyZSBidWlsZCB3aXRoIGEgbWl4IG9mIGJvdGggZGVidWcgKC1nKSBhbmQgb3B0aW1pemVkICgtTykgwqBtb2RlIC4gV2hhdCBJIGhhdmUgZG9uZSBpcyB0aGF0IMKgSSABMAEBAQE- X-Mailer: YahooMailWebService/0.8.160.587 Message-ID: <1383074142.3715.YahooMailNeo@web120304.mail.ne1.yahoo.com> Date: Tue, 29 Oct 2013 12:15:42 -0700 (PDT) From: REYANE OUKPEDJO Reply-To: REYANE OUKPEDJO Subject: How to compile and build hadoop native libraries in debug mode To: "user@hadoop.apache.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="877965879-1498138976-1383074142=:3715" X-Virus-Checked: Checked by ClamAV on apache.org --877965879-1498138976-1383074142=:3715 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=0A=0ACan someone help me? I am trying to build and compile hadoop along= with the native =A0library in debug mode but after I finish I realized fro= m the compiler logs that =A0the native libraries are build with a mix of bo= th debug (-g) and optimized (-O) =A0mode . What I have done is that =A0I do= wnloaded the source from apache, =A0I installed all the pre-requisite such = as protocol buffer, cmake and maven. I then cd to the source directory and = use the following command:=0A=0Amvn clean package -Pdist -Dtar -DskipTests = -Pnative -Dmaven.native.debug=3Dtrue=0A=0Ait builds and compile hadoop alon= g with native library but with a mix of both modes. But I need it to be com= pletely in debug mode .=0A=0AAny help?=A0=0A=0AThanks=0A=0A=0AReyane OUKPED= JO --877965879-1498138976-1383074142=:3715 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

Can someone help me? I am trying to build and compile hadoop = along with the native  library in debug mode but after I finish I real= ized from the compiler logs that  the native libraries are build with = a mix of both debug (-g) and optimized (-O)  mode . What I have done i= s that  I downloaded the source from apache,  I installed all the= pre-requisite such as protocol buffer, cmake and maven. I then cd to the s= ource directory and use the following command:

mvn clean package -Pdist -Dtar -Dskip= Tests -Pnative -Dmaven.native.debug=3Dtrue
it builds and compile hadoop along with native libra= ry but with a mix of both modes. But I need it to be completely in debug mode= .

Any help? 

Thanks


Reyane OUKPEDJO
--877965879-1498138976-1383074142=:3715--