hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Drbal <lukas.dr...@socialbakers.com>
Subject Re: Building hadoop 2.2.1 from source code
Date Thu, 12 Jun 2014 18:32:18 GMT
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 <yuzhihong@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
>> <lukas.drbal@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
<lukas.drbal@socialbakers.com>*
*www.socialbakers.com <http://www.socialbakers.com/>*

Mime
View raw message