Building hadoop forrest is a pain at the best of times. Requires java 1.5. See the Hadoop build instructions referenced from hbase doc: http://wiki.apache.org/hadoop/HowToRelease It talks explicitly about the tricks getting forrest build to work.
Hopefully this helps, St.Ack (I'll fix the doc. to clarify diff between viewing the repo and checkout -- thanks for that) On Thu, Mar 24, 2011 at 8:07 AM, Alex Luya <[email protected]> wrote: > Thanks,this error has gone,but another error comes up: > ----------------------------------------------------------------------------------------------- > BUILD FAILED > /home/alex/Software/branch-0 .20-append/build.xml:927: The following error > occurred while executing this line: > /home/alex/Software/branch-0 .20-append/build.xml:933: exec returned: 1 > > Total time: 1 minute 17 seconds > + RESULT=1 > + '[' 1 '!=' 0 ']' > + echo 'Build Failed: 64-bit build not run' > Build Failed: 64-bit build not run > + exit 1 > ----------------------------------------------------------------------------------------------------------------- > I checked content in file build.xml: > ------------------------------------------------------------------------------------------------------------ > line 927:<antcall target="cn-docs"/> > </target> > > <target name="cn-docs" depends="forrest.check, init" > description="Generate forrest-based Chinese documentation. To > use, specify -Dforrest.home=<base of Apache Forrest installation> on > the command line." > if="forrest.home"> > line 933 <exec dir="${src.docs.cn}" > executable="${forrest.home}/bin/forrest" failonerror="true"> > ----------------------------------------------------------------------------------------------------------------------------------------------- > It seems try to execute forrest,what is the problem here?I am running a > 64bit ubuntu,with 64bit jdk installed. > > > > On Thu, Mar 24, 2011 at 10:01 PM, Harsh J <[email protected]> wrote: > >> On Thu, Mar 24, 2011 at 7:14 PM, Alex Luya <[email protected]> >> wrote: >> > I am not sure whether they are same. >> >> The doc link is a viewable link (links to a webservice that has nifty >> version control browsing features). Your deduced link is the right one >> for svn checkouts instead. >> >> > clean docs package-libhdfs >> > Target "package-libhdfs" does not exist in the project "Hadoop". >> >> I don't think there exists a 'package-libhdfs' target in the >> 0.20-append branch's build.xml, maybe you meant to perform a >> 'package-native' instead (which builds the libhdfs as well)? >> >> -- >> Harsh J >> http://harshj.com >> >
