On Fri, Aug 20, 2010 at 6:20 AM, Guru Prasad <guru.pra...@ibibogroup.com> wrote: > hi all, > > I am unable to run hive web interface. Please help me to setup the same. > I have the following settings. > -------------------------------------- > $ hive --service hwi > 10/08/20 15:38:58 INFO hwi.HWIServer: HWI is starting up > 10/08/20 15:38:59 FATAL hwi.HWIServer: HWI WAR file not found at > /usr/lib/hive/lib/hive_hwi.war > > $hive --service hwi --help > Usage ANT_LIB=XXXX hive --service hwi > > $ locate hive_hwi > /usr/lib/hive/lib/hive_hwi.war > >>>hive-site.xml contains this information > > <property> > <name>hive.hwi.war.file</name> > <value>/lib/hive_hwi.war</value> > <description>This is the WAR file with the jsp content for Hive Web > Interface</description> > </property> > ------------------------------ > > $which ant > /usr/bin/ant > > But "ant lib" is empty there is no file so exporting > export ANT_LIB=$ANT_HOME/lib > wont change anything > > > I also look at the settings given on hive HiveWebInterface > http://wiki.apache.org/hadoop/Hive/HiveWebInterface > & http://morethanseven.net/2010/04/05/Hadoop-hive-web-interface.html > > But it did not work > > So, Please help me. > > Regards > ~guru > > > > This message is intended only for the use of the addressee and may contain > information that is privileged, confidential > and exempt from disclosure under applicable law. If the reader of this > message is not the intended recipient, or the > employee or agent responsible for delivering the message to the intended > recipient, you are hereby notified that any > dissemination, distribution or copying of this communication is strictly > prohibited. If you have received this e-mail > in error, please notify us immediately by return e-mail and delete this > e-mail and all attachments from your system. >
Erge... So the bootstrap process for hwi changed a number of times over different versions. From your ouput it looks like you are running hive 0.4.X or hive 0.5.X. In any case the path being printed: > 10/08/20 15:38:58 INFO hwi.HWIServer: HWI is starting up > 10/08/20 15:38:59 FATAL hwi.HWIServer: HWI WAR file not found at > /usr/lib/hive/lib/hive_hwi.war is not actually the path where it is attempting to load the war from. You can update to trunk where this is fixed. However you may want to try using the relative path from hive home lib/hive_hwi.war (notice no leading /) or the full path. Sorry for the confusion.