You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Justin Mrkva <ma...@justinmrkva.com> on 2014/04/15 20:31:55 UTC

Compiling from Source

I’m using the guide at http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-common/SingleCluster.html to try to compile the native Hadoop libraries because I’m running a 64 bit OS and it keeps complaining that the native libraries can’t be found.

After running the third command (mvn clean install assembly:assembly -Pnative) I get the output shown in the gist at https://gist.github.com/anonymous/dd8e1833d09b48bdb813

I’m installing Hadoop 2.4.0 on CentOS 6.5 64-bit. The operating system is a clean install and is running nothing but Hadoop.

Where should I go from here? There are so many packages used in Hadoop that I have no idea where to begin, and Maven gives no indication of what the actual error is.

Re: Compiling from Source

Posted by Shengjun Xin <sx...@gopivotal.com>.
I think you can  use the command 'mvn package -Pnative,dist -DskipTests' in
source code root directory to build the binaries


On Wed, Apr 16, 2014 at 2:31 AM, Justin Mrkva <ma...@justinmrkva.com> wrote:

> I'm using the guide at
> http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-common/SingleCluster.htmlto try to compile the native Hadoop libraries because I'm running a 64 bit
> OS and it keeps complaining that the native libraries can't be found.
>
> After running the third command (mvn clean install assembly:assembly
> -Pnative) I get the output shown in the gist at
> https://gist.github.com/anonymous/dd8e1833d09b48bdb813
>
> I'm installing Hadoop 2.4.0 on CentOS 6.5 64-bit. The operating system is
> a clean install and is running nothing but Hadoop.
>
> Where should I go from here? There are so many packages used in Hadoop
> that I have no idea where to begin, and Maven gives no indication of what
> the actual error is.
>



-- 
Regards
Shengjun

Re: Compiling from Source

Posted by Shengjun Xin <sx...@gopivotal.com>.
I think you can  use the command 'mvn package -Pnative,dist -DskipTests' in
source code root directory to build the binaries


On Wed, Apr 16, 2014 at 2:31 AM, Justin Mrkva <ma...@justinmrkva.com> wrote:

> I'm using the guide at
> http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-common/SingleCluster.htmlto try to compile the native Hadoop libraries because I'm running a 64 bit
> OS and it keeps complaining that the native libraries can't be found.
>
> After running the third command (mvn clean install assembly:assembly
> -Pnative) I get the output shown in the gist at
> https://gist.github.com/anonymous/dd8e1833d09b48bdb813
>
> I'm installing Hadoop 2.4.0 on CentOS 6.5 64-bit. The operating system is
> a clean install and is running nothing but Hadoop.
>
> Where should I go from here? There are so many packages used in Hadoop
> that I have no idea where to begin, and Maven gives no indication of what
> the actual error is.
>



-- 
Regards
Shengjun

Re: Compiling from Source

Posted by Shengjun Xin <sx...@gopivotal.com>.
I think you can  use the command 'mvn package -Pnative,dist -DskipTests' in
source code root directory to build the binaries


On Wed, Apr 16, 2014 at 2:31 AM, Justin Mrkva <ma...@justinmrkva.com> wrote:

> I'm using the guide at
> http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-common/SingleCluster.htmlto try to compile the native Hadoop libraries because I'm running a 64 bit
> OS and it keeps complaining that the native libraries can't be found.
>
> After running the third command (mvn clean install assembly:assembly
> -Pnative) I get the output shown in the gist at
> https://gist.github.com/anonymous/dd8e1833d09b48bdb813
>
> I'm installing Hadoop 2.4.0 on CentOS 6.5 64-bit. The operating system is
> a clean install and is running nothing but Hadoop.
>
> Where should I go from here? There are so many packages used in Hadoop
> that I have no idea where to begin, and Maven gives no indication of what
> the actual error is.
>



-- 
Regards
Shengjun

Re: Compiling from Source

Posted by Shengjun Xin <sx...@gopivotal.com>.
I think you can  use the command 'mvn package -Pnative,dist -DskipTests' in
source code root directory to build the binaries


On Wed, Apr 16, 2014 at 2:31 AM, Justin Mrkva <ma...@justinmrkva.com> wrote:

> I'm using the guide at
> http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-common/SingleCluster.htmlto try to compile the native Hadoop libraries because I'm running a 64 bit
> OS and it keeps complaining that the native libraries can't be found.
>
> After running the third command (mvn clean install assembly:assembly
> -Pnative) I get the output shown in the gist at
> https://gist.github.com/anonymous/dd8e1833d09b48bdb813
>
> I'm installing Hadoop 2.4.0 on CentOS 6.5 64-bit. The operating system is
> a clean install and is running nothing but Hadoop.
>
> Where should I go from here? There are so many packages used in Hadoop
> that I have no idea where to begin, and Maven gives no indication of what
> the actual error is.
>



-- 
Regards
Shengjun