Raghu,
java5.check:
BUILD FAILED
/home/raghu/src-hadoop/trunk/build.xml:890: 'java5.home' is not defined. Forrest
requires Java 5. Please pass -Djava5.home=<base of Java 5 distribution> to Ant
on the command-line.
Currently, Hadoop requires java 5 for compiling documentation. The
documentation program is Apache Forrest: http://forrest.apache.org/. And
you also should have java 5, whose home should be given to ant.
So, you should run something like:
ant -Djava5.home=/path/to/java-5 -Dforrest.home=/path/to/forrest tar