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