I am not a Jetty expert but it could be that the war is somehow
corrupted/damaged. Jar/War are plain zip archives but with specific files
and a different file extension. Can you open it? I don't think there is a
hash of it available but there should be for the full hive download. Do
they match?

Another solution for that problem is that the path to your war is ill
defined so it can't open the file (where it is not). Try putting an
absolute path into your hive configuration to a copy of that war.

Regards

Bertrand

On Fri, Sep 28, 2012 at 7:07 PM, Germain Tanguy <tanguy.germ...@gmail.com>wrote:

> Thank you for answer.
>
> No I am using Apache's distribution.
>
> Germain.
>
> Le 28 sept. 2012 à 05:34, Ruslan Al-Fakikh a écrit :
>
> > Hey,
> >
> > Are you using Cloudera's distribution? If yes - as far as I know they
> > don't support the Hive Web Interface, recommending Hue.
> >
> > Best Regards
> >
> > On Thu, Sep 27, 2012 at 10:38 PM, Germain Tanguy
> > <tanguy.germ...@gmail.com> wrote:
> >> Hi
> >>
> >> I am a new user of Hive, I am on version 0.9.0. I try to use hive web
> interface and  I have this error :
> >>
> >>
> >> 12/09/27 11:05:02 INFO hwi.HWIServer: HWI is starting up
> >> 12/09/27 11:05:02 INFO mortbay.log: Logging to
> org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
> org.mortbay.log.Slf4jLog
> >> 12/09/27 11:05:02 INFO mortbay.log: jetty-6.1.14
> >> 12/09/27 11:05:02 INFO mortbay.log: Extract
> jar:file:/Applications/hive-0.9.0/lib/hive-hwi-0.9.0.war!/ to
> /var/folders/th/1f2knntx5kv5t866bnwlrr100000gn/T/Jetty_0_0_0_0_9999_hive.hwi.0.9.0.war__hwi__2l99ri/webapp
> >> 12/09/27 11:05:02 WARN mortbay.log: Failed startup of context
> org.mortbay.jetty.webapp.WebAppContext@68de462
> {/hwi,jar:file:/Applications/hive-0.9.0/lib/hive-hwi-0.9.0.war!/}
> >> java.util.zip.ZipException: error in opening zip file
> >>        at java.util.zip.ZipFile.open(Native Method)
> >>        at java.util.zip.ZipFile.<init>(ZipFile.java:127)
> >>        at java.util.jar.JarFile.<init>(JarFile.java:135)
> >>        at java.util.jar.JarFile.<init>(JarFile.java:99)
> >>        at
> org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:168)
> >>        at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1231)
> >>        at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> >>        at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)
> >>        at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >>        at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> >>        at
> org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)
> >>        at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >>        at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> >>        at org.mortbay.jetty.Server.doStart(Server.java:222)
> >>        at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >>        at org.apache.hadoop.hive.hwi.HWIServer.start(HWIServer.java:102)
> >>        at org.apache.hadoop.hive.hwi.HWIServer.main(HWIServer.java:132)
> >>        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:156)
> >> 12/09/27 11:05:02 INFO mortbay.log: Started
> SocketConnector@0.0.0.0:9999
> >>
> >> Someone have an idea where does it come from? and how to fix it?
> >>
> >> Thanks for your help,
> >>
> >> Regards,
> >>
> >> Germain Tanguy.
>
>


-- 
Bertrand Dechoux

Reply via email to