You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by REYANE OUKPEDJO <r....@yahoo.com> on 2013/10/29 20:12:23 UTC
how to build hadoop native libraries in debug mode
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 realized 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 is 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 source directory and use the following command:
mvn clean package -Pdist -Dtar -DskipTests -Pnative -Dmaven.native.debug=true
it builds and compile hadoop along with native library but with a mix of both modes. But I need it to be completely in debug mode .
Any help?
Thanks
Reyane OUKPEDJO