hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Luya <alexander.l...@gmail.com>
Subject hadoop branch-0.20-append Build error:Target "package-libhdfs" does not exist in the project "Hadoop".
Date Thu, 24 Mar 2011 13:44:12 GMT
Assume you know 0.91 needs hadoop branch-0.20-append to run,and it's doc
gives a link:
http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-append/

to check hadoop,but when tried to check out source code from this link,
I got this error:
--------------------------------------------------------------------------------
svn: Repository moved permanently to
'/viewvc/hadoop/common/branches/branch-0.20-append/'; please relocate
--------------------------------------------------------------------------------

so finally,I checked source out from:

https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-append/

I am not sure whether they are same.


this is my build script:
//////////////////////////////////////////////////////////////////////////////////
#!/bin/bash
VERSION=0.20.0-append
ANT_HOME=/home/alex/Software/ant-1.8.2
XERCES_HOME=/home/alex/Software/xerces-c_2_8
FORREST_HOME=/home/alex/Software/forrest-0.8
ECLIPSE_HOME=/media/Backup/eclipse/eclipse_with_va
JDIFF_HOME=/home/alex/Software/jdiff-1.1.1
JAVA5_HOME=/usr/local/hadoop/jdk1.5.0_22
JAVA32_HOME=/usr/local/hadoop/jdk1.6.0_24_i586
JAVA64_HOME=/usr/local/hadoop/jdk1.6.0_24

set -x

ulimit -n 1024

### BUILD_ID is set by Hudson
#trunk=`pwd`/trunk

cd /home/alex/Software/branch-0.20-append

export JAVA_HOME=$JAVA32_HOME
export CFLAGS=-m32
export CXXFLAGS=-m32
$ANT_HOME/bin/ant -Dversion=$VERSION -Dcompile.native=true -Dcompile.c
++=true -Dlibhdfs=1 -Dlibrecordio=true -Dxercescroot=$XERCES_HOME
-Declipse.home=$ECLIPSE_HOME -Djdiff.home=$JDIFF_HOME -Djava5.home=
$JAVA5_HOME -Dforrest.home=$FORREST_HOME clean docs package-libhdfs
api-report tar test test-c++-libhdfs

RESULT=$?
if [ $RESULT != 0 ] ; then
 echo "Build Failed: 64-bit build not run"
 exit $RESULT
fi

export JAVA_HOME=$JAVA64_HOME
export CFLAGS=-m64
export CXXFLAGS=-m64
$ANT_HOME/bin/ant -Dversion=$VERSION -Dcompile.native=true -Dcompile.c
++=true compile-core-native compile-c++ tar
//////////////////////////////////////////////////////////////////////////////////////////////////

this is error message:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 [exec]
    [exec]   Copying broken links file to site root.
    [exec]
    [exec] Copying 1 file
to /home/alex/Software/branch-0.20-append-bak/src/docs/cn/build/site
    [exec]
    [exec] -----------------------------
    [exec] Static site was successfully generated at:

[exec] /home/alex/Software/branch-0.20-append-bak/src/docs/cn/build/site
    [exec] ------------------------------
    [exec]
    [exec]
    [exec] BUILD SUCCESSFUL
    [exec] Total time: 41 seconds
    [copy] Copying 107 files
to /home/alex/Software/branch-0.20-append-bak/build/docs/cn
    [copy] Copied 7 empty directories to 3 empty directories
under /home/alex/Software/branch-0.20-append-bak/build/docs/cn
   [style] Warning: the task name <style> is deprecated. Use <xslt>
instead.
   ...................................
instead.
   [style] Transforming
into /home/alex/Software/branch-0.20-append-bak/build/docs/cn
   [style]
Processing /home/alex/Software/branch-0.20-append-bak/src/mapred/mapred-default.xml to /home/alex/Software/branch-0.20-append-bak/build/docs/cn/mapred-default.html
   [style] Loading
stylesheet /home/alex/Software/branch-0.20-append-bak/conf/configuration.xsl

changes-to-html:

BUILD FAILED
Target "package-libhdfs" does not exist in the project "Hadoop".
///////////////////////////////////////////////////////////////////////////////////////////////////

I have tried to googling,but not solution available,can anybody help
me?Thanks in advance.



Mime
View raw message