On Wed, Mar 4, 2009 at 4:05 AM, Arijit Mukherjee <ariji...@gmail.com> wrote:
> Hi
>
> I checked out the SVN trunk and built it. But when I invoke the HWI, I get
> the following error:
>
> strawberry:/usr/local/hadoop/hive/bin> ./hive --service hwi
> 09/03/04 14:23:10 INFO hwi.HWIServer: HWI is starting up
> 09/03/04 14:23:10 FATAL hwi.HWIServer: HWI WAR file not found at
> ${HIVE_HOME}/lib/hive.war
> 09/03/04 14:23:10 INFO http.HttpServer: Version Jetty/5.1.4
> 09/03/04 14:23:10 INFO util.Credential: Checking Resource aliases
> 09/03/04 14:23:10 WARN servlet.WebApplicationContext: Web application not
> found ${HIVE_HOME}/lib/hive.war
> 09/03/04 14:23:10 WARN servlet.WebApplicationContext: Configuration error on
> ${HIVE_HOME}/lib/hive.war
> java.io.FileNotFoundException: ${HIVE_HOME}/lib/hive.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:165)
>     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/03/04 14:23:10 INFO http.SocketListener: Started SocketListener on
> 0.0.0.0:9999
> 09/03/04 14:23:10 ERROR hwi.HWIServer: Parsing hwi.listen.port caused
> exception
>
> Seems like the build process did not build the web archive for hive. The lib
> folder contains a hive_hwi.war though. Did I miss anything while building? I
> used the default "ant -Dtarget.dir=<my dir> -Dhadoop.version='0.19.0'
> package" command to build hive.
>
> Regards
> Arijit
>
> 2009/3/4 Edward Capriolo <edlinuxg...@gmail.com>
>>
>> There is a new walk though on the hadoop wiki with some screen shots
>> of the Hive Web Interface.
>>
>> http://wiki.apache.org/hadoop/Hive/HiveWebInterface
>>
>> Enjoy
>
>
>
> --
> "And when the night is cloudy,
> There is still a light that shines on me,
> Shine on until tomorrow, let it be."
>

There should be two files present in lib are hive_hwi.jar and hive_hwi.war

i use
'ant'
and 'ant deploy' from the top level directory.
If you think the build.xml is not operating properly open a jira.

Thanks,
Edward

Reply via email to