You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Lukas Drbal <lu...@socialbakers.com> on 2014/06/12 18:37:11 UTC
Building hadoop 2.2.1 from source code
Hi all,
i have a problem with build hadoop from source code. I take git from
https://github.com/apache/hadoop-common and branch-2.2.1 and try
mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
Here is log from mvn https://gist.github.com/anonymous/052b6d45f64be01dab43
My enviroment:
lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
I need build native libs for 64bit. Can somebody help me please?
Thanks.
--
* Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424 **lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Arpit Agarwal <aa...@hortonworks.com>.
You may need to add the 'install' target the first time you build (and
every time you build clean thereafter).
Your 'java -version' and 'mvn -version' report different versions of Java.
Check your JAVA_HOME.
On Thu, Jun 12, 2014 at 9:49 AM, Ted Yu <yu...@gmail.com> wrote:
> Can you run the following command first ?
>
> mvn clean package -DskipTests
>
> Here is the version of maven I use:
>
> mvn -version
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 15:22:22+0000)
>
> Cheers
>
>
> On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lukas.drbal@socialbakers.com
> > wrote:
>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Hi Ted,
clean and package ending with same error.
One of them:
[ERROR]
/home/lestr/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/webapp/TestNMWebServicesContainers.java:[181,4]
error: cannot find symbol
I found one mistake. My maven use java6, i fix it but nothing change.
Now i have correct mvn setup.
lestr@drbal:~/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src ∑ mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
lestr@drbal:~/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src ∑
On Thu, Jun 12, 2014 at 6:49 PM, Ted Yu <yu...@gmail.com> wrote:
> Can you run the following command first ?
>
> mvn clean package -DskipTests
>
> Here is the version of maven I use:
>
> mvn -version
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 15:22:22+0000)
>
> Cheers
>
>
> On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lukas.drbal@socialbakers.com
> > wrote:
>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Hi Ted,
clean and package ending with same error.
One of them:
[ERROR]
/home/lestr/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/webapp/TestNMWebServicesContainers.java:[181,4]
error: cannot find symbol
I found one mistake. My maven use java6, i fix it but nothing change.
Now i have correct mvn setup.
lestr@drbal:~/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src ∑ mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
lestr@drbal:~/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src ∑
On Thu, Jun 12, 2014 at 6:49 PM, Ted Yu <yu...@gmail.com> wrote:
> Can you run the following command first ?
>
> mvn clean package -DskipTests
>
> Here is the version of maven I use:
>
> mvn -version
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 15:22:22+0000)
>
> Cheers
>
>
> On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lukas.drbal@socialbakers.com
> > wrote:
>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Hi Ted,
clean and package ending with same error.
One of them:
[ERROR]
/home/lestr/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/webapp/TestNMWebServicesContainers.java:[181,4]
error: cannot find symbol
I found one mistake. My maven use java6, i fix it but nothing change.
Now i have correct mvn setup.
lestr@drbal:~/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src ∑ mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
lestr@drbal:~/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src ∑
On Thu, Jun 12, 2014 at 6:49 PM, Ted Yu <yu...@gmail.com> wrote:
> Can you run the following command first ?
>
> mvn clean package -DskipTests
>
> Here is the version of maven I use:
>
> mvn -version
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 15:22:22+0000)
>
> Cheers
>
>
> On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lukas.drbal@socialbakers.com
> > wrote:
>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Arpit Agarwal <aa...@hortonworks.com>.
You may need to add the 'install' target the first time you build (and
every time you build clean thereafter).
Your 'java -version' and 'mvn -version' report different versions of Java.
Check your JAVA_HOME.
On Thu, Jun 12, 2014 at 9:49 AM, Ted Yu <yu...@gmail.com> wrote:
> Can you run the following command first ?
>
> mvn clean package -DskipTests
>
> Here is the version of maven I use:
>
> mvn -version
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 15:22:22+0000)
>
> Cheers
>
>
> On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lukas.drbal@socialbakers.com
> > wrote:
>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Hi Ted,
clean and package ending with same error.
One of them:
[ERROR]
/home/lestr/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/webapp/TestNMWebServicesContainers.java:[181,4]
error: cannot find symbol
I found one mistake. My maven use java6, i fix it but nothing change.
Now i have correct mvn setup.
lestr@drbal:~/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src ∑ mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
lestr@drbal:~/data/sbks-deps/hadoop2.2/hadoop-2.2.0-src ∑
On Thu, Jun 12, 2014 at 6:49 PM, Ted Yu <yu...@gmail.com> wrote:
> Can you run the following command first ?
>
> mvn clean package -DskipTests
>
> Here is the version of maven I use:
>
> mvn -version
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 15:22:22+0000)
>
> Cheers
>
>
> On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lukas.drbal@socialbakers.com
> > wrote:
>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Arpit Agarwal <aa...@hortonworks.com>.
You may need to add the 'install' target the first time you build (and
every time you build clean thereafter).
Your 'java -version' and 'mvn -version' report different versions of Java.
Check your JAVA_HOME.
On Thu, Jun 12, 2014 at 9:49 AM, Ted Yu <yu...@gmail.com> wrote:
> Can you run the following command first ?
>
> mvn clean package -DskipTests
>
> Here is the version of maven I use:
>
> mvn -version
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 15:22:22+0000)
>
> Cheers
>
>
> On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lukas.drbal@socialbakers.com
> > wrote:
>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: Building hadoop 2.2.1 from source code
Posted by Arpit Agarwal <aa...@hortonworks.com>.
You may need to add the 'install' target the first time you build (and
every time you build clean thereafter).
Your 'java -version' and 'mvn -version' report different versions of Java.
Check your JAVA_HOME.
On Thu, Jun 12, 2014 at 9:49 AM, Ted Yu <yu...@gmail.com> wrote:
> Can you run the following command first ?
>
> mvn clean package -DskipTests
>
> Here is the version of maven I use:
>
> mvn -version
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 15:22:22+0000)
>
> Cheers
>
>
> On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lukas.drbal@socialbakers.com
> > wrote:
>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: Building hadoop 2.2.1 from source code
Posted by Ted Yu <yu...@gmail.com>.
Can you run the following command first ?
mvn clean package -DskipTests
Here is the version of maven I use:
mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
15:22:22+0000)
Cheers
On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lu...@socialbakers.com>
wrote:
> Hi all,
>
> i have a problem with build hadoop from source code. I take git from
> https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from mvn
> https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
>
> * Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424 **lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Fixed after apply patch from
https://issues.apache.org/jira/browse/HADOOP-10110
L.
On Thu, Jun 12, 2014 at 8:58 PM, Lukas Drbal <lu...@socialbakers.com>
wrote:
> Thanks Tomas, but this can't help me now : )
>
> Now i try change my mvn local repo via
>
> export MAVEN_OPTS="-Dmaven.repo.local=`pwd`/../.m2"
>
> mvn clean package -DskipTests produce new error:
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:28.631s
> [INFO] Finished at: Thu Jun 12 20:44:09 CEST 2014
> [INFO] Final Memory: 33M/381M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
> (default-testCompile) on project hadoop-auth: Compilation failure:
> Compilation failure:
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[88,11]
> error: cannot access AbstractLifeCycle
> [ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[96,29]
> error: cannot access LifeCycle
> [ERROR] class file for org.mortbay.component.LifeCycle not found
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,10]
> error: cannot find symbol
> [ERROR] symbol: method start()
> [ERROR] location: variable server of type Server
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[104,12]
> error: cannot find symbol
> [ERROR] -> [Help 1]
>
> This make me a little bit crazy : )
>
> L.
>
>
> On Thu, Jun 12, 2014 at 8:40 PM, Tomás Fernández Pena <tf...@gmail.com>
> wrote:
>
>> Hi,
>>
>> If you are able to read Spanish, in
>> https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
>> it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
>> bits.
>>
>> Cheers
>>
>> Tomas
>>
>> En 12/06/14 18:37, Lukas Drbal escribiu:
>>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>>
>>
>
>
> --
>
>
> *Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424**lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Fixed after apply patch from
https://issues.apache.org/jira/browse/HADOOP-10110
L.
On Thu, Jun 12, 2014 at 8:58 PM, Lukas Drbal <lu...@socialbakers.com>
wrote:
> Thanks Tomas, but this can't help me now : )
>
> Now i try change my mvn local repo via
>
> export MAVEN_OPTS="-Dmaven.repo.local=`pwd`/../.m2"
>
> mvn clean package -DskipTests produce new error:
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:28.631s
> [INFO] Finished at: Thu Jun 12 20:44:09 CEST 2014
> [INFO] Final Memory: 33M/381M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
> (default-testCompile) on project hadoop-auth: Compilation failure:
> Compilation failure:
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[88,11]
> error: cannot access AbstractLifeCycle
> [ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[96,29]
> error: cannot access LifeCycle
> [ERROR] class file for org.mortbay.component.LifeCycle not found
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,10]
> error: cannot find symbol
> [ERROR] symbol: method start()
> [ERROR] location: variable server of type Server
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[104,12]
> error: cannot find symbol
> [ERROR] -> [Help 1]
>
> This make me a little bit crazy : )
>
> L.
>
>
> On Thu, Jun 12, 2014 at 8:40 PM, Tomás Fernández Pena <tf...@gmail.com>
> wrote:
>
>> Hi,
>>
>> If you are able to read Spanish, in
>> https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
>> it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
>> bits.
>>
>> Cheers
>>
>> Tomas
>>
>> En 12/06/14 18:37, Lukas Drbal escribiu:
>>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>>
>>
>
>
> --
>
>
> *Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424**lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Fixed after apply patch from
https://issues.apache.org/jira/browse/HADOOP-10110
L.
On Thu, Jun 12, 2014 at 8:58 PM, Lukas Drbal <lu...@socialbakers.com>
wrote:
> Thanks Tomas, but this can't help me now : )
>
> Now i try change my mvn local repo via
>
> export MAVEN_OPTS="-Dmaven.repo.local=`pwd`/../.m2"
>
> mvn clean package -DskipTests produce new error:
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:28.631s
> [INFO] Finished at: Thu Jun 12 20:44:09 CEST 2014
> [INFO] Final Memory: 33M/381M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
> (default-testCompile) on project hadoop-auth: Compilation failure:
> Compilation failure:
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[88,11]
> error: cannot access AbstractLifeCycle
> [ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[96,29]
> error: cannot access LifeCycle
> [ERROR] class file for org.mortbay.component.LifeCycle not found
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,10]
> error: cannot find symbol
> [ERROR] symbol: method start()
> [ERROR] location: variable server of type Server
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[104,12]
> error: cannot find symbol
> [ERROR] -> [Help 1]
>
> This make me a little bit crazy : )
>
> L.
>
>
> On Thu, Jun 12, 2014 at 8:40 PM, Tomás Fernández Pena <tf...@gmail.com>
> wrote:
>
>> Hi,
>>
>> If you are able to read Spanish, in
>> https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
>> it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
>> bits.
>>
>> Cheers
>>
>> Tomas
>>
>> En 12/06/14 18:37, Lukas Drbal escribiu:
>>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>>
>>
>
>
> --
>
>
> *Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424**lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Fixed after apply patch from
https://issues.apache.org/jira/browse/HADOOP-10110
L.
On Thu, Jun 12, 2014 at 8:58 PM, Lukas Drbal <lu...@socialbakers.com>
wrote:
> Thanks Tomas, but this can't help me now : )
>
> Now i try change my mvn local repo via
>
> export MAVEN_OPTS="-Dmaven.repo.local=`pwd`/../.m2"
>
> mvn clean package -DskipTests produce new error:
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:28.631s
> [INFO] Finished at: Thu Jun 12 20:44:09 CEST 2014
> [INFO] Final Memory: 33M/381M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
> (default-testCompile) on project hadoop-auth: Compilation failure:
> Compilation failure:
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[88,11]
> error: cannot access AbstractLifeCycle
> [ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[96,29]
> error: cannot access LifeCycle
> [ERROR] class file for org.mortbay.component.LifeCycle not found
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,10]
> error: cannot find symbol
> [ERROR] symbol: method start()
> [ERROR] location: variable server of type Server
> [ERROR]
> /home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[104,12]
> error: cannot find symbol
> [ERROR] -> [Help 1]
>
> This make me a little bit crazy : )
>
> L.
>
>
> On Thu, Jun 12, 2014 at 8:40 PM, Tomás Fernández Pena <tf...@gmail.com>
> wrote:
>
>> Hi,
>>
>> If you are able to read Spanish, in
>> https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
>> it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
>> bits.
>>
>> Cheers
>>
>> Tomas
>>
>> En 12/06/14 18:37, Lukas Drbal escribiu:
>>
>> Hi all,
>>
>> i have a problem with build hadoop from source code. I take git from
>> https://github.com/apache/hadoop-common and branch-2.2.1 and try
>> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>>
>> Here is log from mvn
>> https://gist.github.com/anonymous/052b6d45f64be01dab43
>>
>>
>> My enviroment:
>>
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
>> java version "1.7.0_60"
>> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
>> Apache Maven 3.0.5
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-oracle/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
>> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>>
>>
>> I need build native libs for 64bit. Can somebody help me please?
>>
>> Thanks.
>> --
>>
>>
>> * Lukáš Drbal*
>> Software architect
>>
>> *Socialbakers*
>> Facebook applications and other sweet stuff
>>
>> Facebook Preferred Marketing Developer
>>
>>
>> *+420 739 815 424 **lukas.drbal@socialbakers.com
>> <lu...@socialbakers.com>*
>> *www.socialbakers.com <http://www.socialbakers.com/>*
>>
>>
>>
>
>
> --
>
>
> *Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424**lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Thanks Tomas, but this can't help me now : )
Now i try change my mvn local repo via
export MAVEN_OPTS="-Dmaven.repo.local=`pwd`/../.m2"
mvn clean package -DskipTests produce new error:
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:28.631s
[INFO] Finished at: Thu Jun 12 20:44:09 CEST 2014
[INFO] Final Memory: 33M/381M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project hadoop-auth: Compilation failure:
Compilation failure:
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[88,11]
error: cannot access AbstractLifeCycle
[ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[96,29]
error: cannot access LifeCycle
[ERROR] class file for org.mortbay.component.LifeCycle not found
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,10]
error: cannot find symbol
[ERROR] symbol: method start()
[ERROR] location: variable server of type Server
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[104,12]
error: cannot find symbol
[ERROR] -> [Help 1]
This make me a little bit crazy : )
L.
On Thu, Jun 12, 2014 at 8:40 PM, Tomás Fernández Pena <tf...@gmail.com>
wrote:
> Hi,
>
> If you are able to read Spanish, in
> https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
> it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
> bits.
>
> Cheers
>
> Tomas
>
> En 12/06/14 18:37, Lukas Drbal escribiu:
>
> Hi all,
>
> i have a problem with build hadoop from source code. I take git from
> https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from mvn
> https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
>
> * Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424 **lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
>
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Thanks Tomas, but this can't help me now : )
Now i try change my mvn local repo via
export MAVEN_OPTS="-Dmaven.repo.local=`pwd`/../.m2"
mvn clean package -DskipTests produce new error:
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:28.631s
[INFO] Finished at: Thu Jun 12 20:44:09 CEST 2014
[INFO] Final Memory: 33M/381M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project hadoop-auth: Compilation failure:
Compilation failure:
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[88,11]
error: cannot access AbstractLifeCycle
[ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[96,29]
error: cannot access LifeCycle
[ERROR] class file for org.mortbay.component.LifeCycle not found
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,10]
error: cannot find symbol
[ERROR] symbol: method start()
[ERROR] location: variable server of type Server
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[104,12]
error: cannot find symbol
[ERROR] -> [Help 1]
This make me a little bit crazy : )
L.
On Thu, Jun 12, 2014 at 8:40 PM, Tomás Fernández Pena <tf...@gmail.com>
wrote:
> Hi,
>
> If you are able to read Spanish, in
> https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
> it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
> bits.
>
> Cheers
>
> Tomas
>
> En 12/06/14 18:37, Lukas Drbal escribiu:
>
> Hi all,
>
> i have a problem with build hadoop from source code. I take git from
> https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from mvn
> https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
>
> * Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424 **lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
>
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Thanks Tomas, but this can't help me now : )
Now i try change my mvn local repo via
export MAVEN_OPTS="-Dmaven.repo.local=`pwd`/../.m2"
mvn clean package -DskipTests produce new error:
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:28.631s
[INFO] Finished at: Thu Jun 12 20:44:09 CEST 2014
[INFO] Final Memory: 33M/381M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project hadoop-auth: Compilation failure:
Compilation failure:
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[88,11]
error: cannot access AbstractLifeCycle
[ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[96,29]
error: cannot access LifeCycle
[ERROR] class file for org.mortbay.component.LifeCycle not found
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,10]
error: cannot find symbol
[ERROR] symbol: method start()
[ERROR] location: variable server of type Server
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[104,12]
error: cannot find symbol
[ERROR] -> [Help 1]
This make me a little bit crazy : )
L.
On Thu, Jun 12, 2014 at 8:40 PM, Tomás Fernández Pena <tf...@gmail.com>
wrote:
> Hi,
>
> If you are able to read Spanish, in
> https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
> it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
> bits.
>
> Cheers
>
> Tomas
>
> En 12/06/14 18:37, Lukas Drbal escribiu:
>
> Hi all,
>
> i have a problem with build hadoop from source code. I take git from
> https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from mvn
> https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
>
> * Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424 **lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
>
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Lukas Drbal <lu...@socialbakers.com>.
Thanks Tomas, but this can't help me now : )
Now i try change my mvn local repo via
export MAVEN_OPTS="-Dmaven.repo.local=`pwd`/../.m2"
mvn clean package -DskipTests produce new error:
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:28.631s
[INFO] Finished at: Thu Jun 12 20:44:09 CEST 2014
[INFO] Final Memory: 33M/381M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project hadoop-auth: Compilation failure:
Compilation failure:
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[88,11]
error: cannot access AbstractLifeCycle
[ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[96,29]
error: cannot access LifeCycle
[ERROR] class file for org.mortbay.component.LifeCycle not found
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,10]
error: cannot find symbol
[ERROR] symbol: method start()
[ERROR] location: variable server of type Server
[ERROR]
/home/lestr/data/git/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[104,12]
error: cannot find symbol
[ERROR] -> [Help 1]
This make me a little bit crazy : )
L.
On Thu, Jun 12, 2014 at 8:40 PM, Tomás Fernández Pena <tf...@gmail.com>
wrote:
> Hi,
>
> If you are able to read Spanish, in
> https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
> it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
> bits.
>
> Cheers
>
> Tomas
>
> En 12/06/14 18:37, Lukas Drbal escribiu:
>
> Hi all,
>
> i have a problem with build hadoop from source code. I take git from
> https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from mvn
> https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
>
> * Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424 **lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
>
>
--
*Lukáš Drbal*
Software architect
*Socialbakers*
Facebook applications and other sweet stuff
Facebook Preferred Marketing Developer
*+420 739 815 424**lukas.drbal@socialbakers.com
<lu...@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*
Re: Building hadoop 2.2.1 from source code
Posted by Tomás Fernández Pena <tf...@gmail.com>.
Hi,
If you are able to read Spanish, in
https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
bits.
Cheers
Tomas
En 12/06/14 18:37, Lukas Drbal escribiu:
> Hi all,
>
> i have a problem with build hadoop from source code. I take git
> from https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from
> mvn https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
> *
> Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
> _+420 739 815 424
> __lukas.drbal@socialbakers.com <ma...@socialbakers.com>__
> __www.socialbakers.com <http://www.socialbakers.com/>_
>
Re: Building hadoop 2.2.1 from source code
Posted by Ted Yu <yu...@gmail.com>.
Can you run the following command first ?
mvn clean package -DskipTests
Here is the version of maven I use:
mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
15:22:22+0000)
Cheers
On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lu...@socialbakers.com>
wrote:
> Hi all,
>
> i have a problem with build hadoop from source code. I take git from
> https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from mvn
> https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
>
> * Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424 **lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
Re: Building hadoop 2.2.1 from source code
Posted by Tomás Fernández Pena <tf...@gmail.com>.
Hi,
If you are able to read Spanish, in
https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
bits.
Cheers
Tomas
En 12/06/14 18:37, Lukas Drbal escribiu:
> Hi all,
>
> i have a problem with build hadoop from source code. I take git
> from https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from
> mvn https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
> *
> Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
> _+420 739 815 424
> __lukas.drbal@socialbakers.com <ma...@socialbakers.com>__
> __www.socialbakers.com <http://www.socialbakers.com/>_
>
Re: Building hadoop 2.2.1 from source code
Posted by Tomás Fernández Pena <tf...@gmail.com>.
Hi,
If you are able to read Spanish, in
https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
bits.
Cheers
Tomas
En 12/06/14 18:37, Lukas Drbal escribiu:
> Hi all,
>
> i have a problem with build hadoop from source code. I take git
> from https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from
> mvn https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
> *
> Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
> _+420 739 815 424
> __lukas.drbal@socialbakers.com <ma...@socialbakers.com>__
> __www.socialbakers.com <http://www.socialbakers.com/>_
>
Re: Building hadoop 2.2.1 from source code
Posted by Ted Yu <yu...@gmail.com>.
Can you run the following command first ?
mvn clean package -DskipTests
Here is the version of maven I use:
mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
15:22:22+0000)
Cheers
On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lu...@socialbakers.com>
wrote:
> Hi all,
>
> i have a problem with build hadoop from source code. I take git from
> https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from mvn
> https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
>
> * Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424 **lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
Re: Building hadoop 2.2.1 from source code
Posted by Ted Yu <yu...@gmail.com>.
Can you run the following command first ?
mvn clean package -DskipTests
Here is the version of maven I use:
mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
15:22:22+0000)
Cheers
On Thu, Jun 12, 2014 at 9:37 AM, Lukas Drbal <lu...@socialbakers.com>
wrote:
> Hi all,
>
> i have a problem with build hadoop from source code. I take git from
> https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from mvn
> https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
>
> * Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
>
> *+420 739 815 424 **lukas.drbal@socialbakers.com
> <lu...@socialbakers.com>*
> *www.socialbakers.com <http://www.socialbakers.com/>*
>
Re: Building hadoop 2.2.1 from source code
Posted by Tomás Fernández Pena <tf...@gmail.com>.
Hi,
If you are able to read Spanish, in
https://bitacoras.citius.usc.es/tecnologia/2014/06/05/hadoop-para-64-bits/
it's described step by step how to compile Hadoop 2.4 in a CentOS 6.5 64
bits.
Cheers
Tomas
En 12/06/14 18:37, Lukas Drbal escribiu:
> Hi all,
>
> i have a problem with build hadoop from source code. I take git
> from https://github.com/apache/hadoop-common and branch-2.2.1 and try
> mvn package -Pdist,native -DskipTests -Dtar but it return a lot errors.
>
> Here is log from
> mvn https://gist.github.com/anonymous/052b6d45f64be01dab43
>
>
> My enviroment:
>
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ java -version
> java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑ mvn -version
> Apache Maven 3.0.5
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14-1-amd64", arch: "amd64", family: "unix"
> lestr@drbal:~/data/git/hadoop-common [ branch-2.2.1 ] ∑
>
>
> I need build native libs for 64bit. Can somebody help me please?
>
> Thanks.
> --
>
> *
> Lukáš Drbal*
> Software architect
>
> *Socialbakers*
> Facebook applications and other sweet stuff
>
> Facebook Preferred Marketing Developer
>
> _+420 739 815 424
> __lukas.drbal@socialbakers.com <ma...@socialbakers.com>__
> __www.socialbakers.com <http://www.socialbakers.com/>_
>