Thanks Edward. That was it. It is working.
-----Original Message-----
From: Edward Capriolo [mailto:[email protected]]
Sent: Friday, November 13, 2009 2:46 PM
To: [email protected]
Subject: Re: hive web interface problem
Massoud,
This is a bug resolved in trunk.
Environment variables ${HIVE_HOME} are not interpreted by hive conf.
If you had an older version you need the full path. Sorry about the confusion
Edward
On Fri, Nov 13, 2009 at 2:39 PM, Massoud Mazar <[email protected]> wrote:
> With help from this mailing list, I got hive working.
> Today I tried to use the web interface, but noticed the hive.hwi.war.file in
> hive-default.xml points to ${HIVE_HOME}/lib/hive-hwi.war instead of
> ${HIVE_HOME}/lib/hive_hwi.war (notice the dash and underscore).
> I thought I should let others know.
>
> Even after fixing that, the web interface does not start, and claims it
> cannot find the hwi file, but I know the file is there:
>
> had...@hmaster:/hadoop/hive$ ls ${HIVE_HOME}/lib/hive_hwi.war
> /hadoop/hive/lib/hive_hwi.war
> had...@hmaster:/hadoop/hive$ bin/hive --service hwi
> 09/11/13 14:31:29 INFO hwi.HWIServer: HWI is starting up
> 09/11/13 14:31:29 FATAL hwi.HWIServer: HWI WAR file not found at
> ${HIVE_HOME}/lib/hive_hwi.war
> 09/11/13 14:31:29 INFO mortbay.log: Logging to
> org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
> org.mortbay.log.Slf4jLog
> 09/11/13 14:31:29 INFO mortbay.log: jetty-6.1.14
> 09/11/13 14:31:29 WARN mortbay.log: Web application not found
> ${HIVE_HOME}/lib/hive_hwi.war
> 09/11/13 14:31:29 WARN mortbay.log: Failed startup of context
> org.mortbay.jetty.webapp.webappcont...@e5b723{/hwi,${HIVE_HOME}/lib/hive_hwi.war}
> java.io.FileNotFoundException: ${HIVE_HOME}/lib/hive_hwi.war
> at
> org.mortbay.jetty.webapp.WebAppContext.resolveWebApp(WebAppContext.java:959)
>
> Any Advise?
>
> Thanks
>
>