hadoop-hdfs-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:58:32 GMT
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.pena@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
> <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