hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bing Li <sarah.lib...@gmail.com>
Subject Re: No java compiler available exception for HWI
Date Tue, 20 Aug 2013 12:27:21 GMT
Hi, Eric et al
Did you resolve this failure?
I'm using Hive-0.11.0, and get the same error when access to HWI via
browser.

I already set the following properties in hive-site.xml
- hive.hwi.listen.host
- hive.hwi.listen.port
- hive.hwi.war.file

And copied two jasper jars into hive/lib:
- jasper-compiler-5.5.23.jar
- jasper-runtime-5.5.23.jar

Thanks,
- Bing


2013/8/20 Bing Li <sarah.libing@gmail.com>

> Hi, Eric et al
> Did you resolve this failure?
> I'm using Hive-0.11.0, and get the same error when access to HWI via
> browser.
>
> I already set the following properties in hive-site.xml
> - hive.hwi.listen.host
> - hive.hwi.listen.port
> - hive.hwi.war.file
>
> And copied two jasper jars into hive/lib:
> - jasper-compiler-5.5.23.jar
> - jasper-runtime-5.5.23.jar
>
> Thanks,
> - Bing
>
>
> 2013/3/30 Eric Chu <echu@rocketfuel.com>
>
>> Hi,
>>
>> I'm running Hive 0.10 and I want to support HWI (besides CLI and HUE).
>> When I started HWI I didn't get any error. However, when I went to <Hive
>> Server Address>:9999/hwi on my browser I saw the error below complaining
>> about "No Java compiler available". My JAVA_HOME is set to
>> /usr/lib/jvm/java-1.6.0-sun-1.6.0.16.
>>
>> Besides https://cwiki.apache.org/Hive/hivewebinterface.html, there's not
>> much documentation on HWI. I'm wondering if anyone else has seen this or
>> has any idea about what's wrong?
>>
>> Thanks.
>>
>> Eric
>>
>> Problem accessing /hwi/. Reason:
>>
>>     No Java compiler available
>>
>> Caused by:
>>
>> java.lang.IllegalStateException: No Java compiler available
>> 	at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:225)
>> 	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:560)
>> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
>> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
>> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>> 	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
>> 	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
>> 	at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:503)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>> 	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
>> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>> 	at org.mortbay.jetty.Server.handle(Server.java:326)
>> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>> 	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
>> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>>
>>
>

Mime
View raw message