I had taken a svn check out svn co http://svn.apache.org/repos/asf/hadoop/hive/trunk hive
and builded through ant ant package. Regards Vidyasagar N V -----Original Message----- From: Zheng Shao [mailto:[email protected]] Sent: Thursday, February 11, 2010 2:26 PM To: [email protected] Subject: Re: Hive Installation Error What commands did you run? With which release? Zheng On Wed, Feb 10, 2010 at 11:20 PM, Vidyasagar Venkata Nallapati <[email protected]> wrote: > Hi, > > > > Installation is giving an error as > > > > master/hadoop/hadoop-0.20.1/build.xml:895: 'java5.home' is not defined. > Forrest requires Java 5. Please pass -Djava5.home=<base of Java 5 > distribution> to Ant on the command-line. > > at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:142) > > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) > > at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > at org.apache.tools.ant.Task.perform(Task.java:348) > > at org.apache.tools.ant.Target.execute(Target.java:357) > > at org.apache.tools.ant.Target.performTasks(Target.java:385) > > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) > > at org.apache.tools.ant.Project.executeTarget(Project.java:1306) > > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1189) > > at org.apache.tools.ant.Main.runBuild(Main.java:758) > > at org.apache.tools.ant.Main.startAnt(Main.java:217) > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) > > > > Total time: 7 minutes 11 seconds > > > > Please guide on this case. > > > > Regards > > Vidyasagar N V > > ________________________________ > DISCLAIMER: The information in this message is confidential and may be > legally privileged. It is intended solely for the addressee. Access to this > message by anyone else is unauthorized. If you are not the intended > recipient, any disclosure, copying, or distribution of the message, or any > action or omission taken by you in reliance on it, is prohibited and may be > unlawful. Please immediately contact the sender if you have received this > message in error. Further, this e-mail may contain viruses and all > reasonable precaution to minimize the risk arising there from is taken by > OnMobile. OnMobile is not liable for any damage sustained by you as a result > of any virus in this e-mail. All applicable virus checks should be carried > out by you before opening this e-mail or any attachment thereto. > Thank you - OnMobile Global Limited. > -- Yours, Zheng DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Further, this e-mail may contain viruses and all reasonable precaution to minimize the risk arising there from is taken by OnMobile. OnMobile is not liable for any damage sustained by you as a result of any virus in this e-mail. All applicable virus checks should be carried out by you before opening this e-mail or any attachment thereto. Thank you - OnMobile Global Limited.
