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
Massoud