Thank you.

% ls $HIVE_HOME/lib/hive_hwi.war
/usr/local/hive/build/dist/lib/hive_hwi.war

It didn't work, but full path worked. Any advice?
Now I've reached where Arijit was.

http://mail-archives.apache.org/mod_mbox/hadoop-hive-user/200903.mbox/%3ccbbf4b570903051044p75b81d5cx370b230d4a686...@mail.gmail.com%3e

Any further help would be very appreciated.


Thanks,
Manhee


----- Original Message ----- From: "Edward Capriolo" <edlinuxg...@gmail.com>
To: <hive-user@hadoop.apache.org>
Sent: Tuesday, May 19, 2009 1:16 PM
Subject: Re: hive hwi


What does '${HIVE_HOME}/lib/hive_hwi.war' evaluate to? You can try
specifying the full path in the hive-site.xml file.

On Tue, May 19, 2009 at 12:05 AM, Manhee Jo <j...@nttdocomo.com> wrote:
Thank you Edward,
I've used apache-ant to build hive that I checked out from trunk.
ant version is

vm2:hive 22 % ant -version
Apache Ant version 1.7.1 compiled on November 10 2008

vm2:hive 25 % echo $ANT_LIB
/usr/share/ant/lib:/usr/local/hive/build/dist/lib

/usr/share/ant/lib has ant-*.jar
/usr/local/hive/build/dist/lib has hive_hwi.jar and hive_hwi.war as well as
other jar files.

But still see the same errors while I was running Hadoop in pseudo
distributed mode.
So I need your help.

Thanks,
Manhee


----- Original Message ----- From: "Edward Capriolo" <edlinuxg...@gmail.com>
To: <hive-user@hadoop.apache.org>
Sent: Tuesday, May 19, 2009 12:43 AM
Subject: Re: hive hwi


On Mon, May 18, 2009 at 4:33 AM, Manhee Jo <j...@nttdocomo.com> wrote:

Hi all. So, is this problem solved at last?
In my environment, I have hive_hwi.war in ${HIVE_HOME}/lib.
My ANT_LIB is /opt/ant/lib, where no files exist.
Do I need to set ANT_LIB? If so, which directory?

In addition, I've tried 'ant deploy'
But target "deploy" does not exist in the project "hive."
Any help would be appreciated.


Thank you.
Manhee



09/05/18 17:26:46 INFO hwi.HWIServer: HWI is starting up
09/05/18 17:26:46 FATAL hwi.HWIServer: HWI WAR file not found at
${HIVE_HOME}/lib/hive_hwi.war
09/05/18 17:26:46 INFO http.HttpServer: Version Jetty/5.1.4
09/05/18 17:26:46 INFO util.Credential: Checking Resource aliases
09/05/18 17:26:46 WARN servlet.WebApplicationContext: Web application not
found ${HIVE_HOME}/lib/hive_hwi.war
09/05/18 17:26:46 WARN servlet.WebApplicationContext: Configuration error
on
${HIVE_HOME}/lib/hive_hwi.war
java.io.FileNotFoundException: ${HIVE_HOME}/lib/hive_hwi.war
at

org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:266)
at

org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:449)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
at org.mortbay.util.Container.start(Container.java:72)
at org.apache.hadoop.hive.hwi.HWIServer.start(HWIServer.java:86)
at org.apache.hadoop.hive.hwi.HWIServer.main(HWIServer.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
09/05/18 17:26:46 INFO http.SocketListener: Started SocketListener on
0.0.0.0:9999
09/05/18 17:26:46 ERROR hwi.HWIServer: Parsing hwi.listen.port caused
exception
org.mortbay.util.MultiException[java.io.FileNotFoundException:
${HIVE_HOME}/lib/hive_hwi.war]
at org.mortbay.http.HttpServer.doStart(HttpServer.java:731)
at org.mortbay.util.Container.start(Container.java:72)
at org.apache.hadoop.hive.hwi.HWIServer.start(HWIServer.java:86)
at org.apache.hadoop.hive.hwi.HWIServer.main(HWIServer.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
java.io.FileNotFoundException: ${HIVE_HOME}/lib/hive_hwi.war
at

org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:266)
at

org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:449)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
at org.mortbay.util.Container.start(Container.java:72)
at org.apache.hadoop.hive.hwi.HWIServer.start(HWIServer.java:86)
at org.apache.hadoop.hive.hwi.HWIServer.main(HWIServer.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
java.io.IOException: Problem starting HWI server
at org.apache.hadoop.hive.hwi.HWIServer.start(HWIServer.java:97)
at org.apache.hadoop.hive.hwi.HWIServer.main(HWIServer.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
Caused by: org.mortbay.util.MultiException[java.io.FileNotFoundException:
${HIVE_HOME}/lib/hive_hwi.war]
at org.mortbay.http.HttpServer.doStart(HttpServer.java:731)
at org.mortbay.util.Container.start(Container.java:72)
at org.apache.hadoop.hive.hwi.HWIServer.start(HWIServer.java:86)
... 10 more


Currently you need apache ant installed to start the web interface.
Currently Jetty requires ANT to load up the web application. Two
Jira's are open. One to include the required Jars. The other two
statically compile the Web Application hopefully removing the
requirement.

For now please install apache-ant and point ANT_LIB to the location of
the ant JAR files. Let me know if you need any help.






Reply via email to