FAQ
[ https://issues.apache.org/jira/browse/HIVE-5132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235384#comment-14235384 ]

Xiaobogu commented on HIVE-5132:
--------------------------------

Hi Shengjun,

Which version of jasper-compiler-dt.jar do you use? where can I download it ?
Can't access to hwi due to "No Java compiler available"
-------------------------------------------------------

Key: HIVE-5132
URL: https://issues.apache.org/jira/browse/HIVE-5132
Project: Hive
Issue Type: Bug
Affects Versions: 0.10.0, 0.11.0
Environment: JDK1.6, hadoop 2.0.4-alpha
Reporter: Bing Li
Assignee: Bing Li
Priority: Critical
Fix For: 0.13.0

Attachments: HIVE-5132-01.patch


I want to use hwi to submit hive queries, but after start hwi successfully, I can't open the web page of it.
I noticed that someone also met the same issue in hive-0.10.
Reproduce steps:
--------------------------
1. start hwi
bin/hive --config $HIVE_CONF_DIR --service hwi
2. access to http://<hive_hwi_node>:9999/hwi via browser
got the following error message:
HTTP ERROR 500
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)


--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Search Discussions

  • Xiaobogu (JIRA) at Dec 5, 2014 at 11:19 am
    [ https://issues.apache.org/jira/browse/HIVE-5132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235386#comment-14235386 ]

    Xiaobogu commented on HIVE-5132:
    --------------------------------

    Is this patch is only one to apply to get this problem resolved?
    I failed to apply it to the $HIVE_SRC_HOME/hwi/pom.xml of version 0.13.1.
    Can't access to hwi due to "No Java compiler available"
    -------------------------------------------------------

    Key: HIVE-5132
    URL: https://issues.apache.org/jira/browse/HIVE-5132
    Project: Hive
    Issue Type: Bug
    Affects Versions: 0.10.0, 0.11.0
    Environment: JDK1.6, hadoop 2.0.4-alpha
    Reporter: Bing Li
    Assignee: Bing Li
    Priority: Critical
    Fix For: 0.13.0

    Attachments: HIVE-5132-01.patch


    I want to use hwi to submit hive queries, but after start hwi successfully, I can't open the web page of it.
    I noticed that someone also met the same issue in hive-0.10.
    Reproduce steps:
    --------------------------
    1. start hwi
    bin/hive --config $HIVE_CONF_DIR --service hwi
    2. access to http://<hive_hwi_node>:9999/hwi via browser
    got the following error message:
    HTTP ERROR 500
    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)


    --
    This message was sent by Atlassian JIRA
    (v6.3.4#6332)
  • Lefty Leverenz (JIRA) at Dec 5, 2014 at 10:46 pm
    [ https://issues.apache.org/jira/browse/HIVE-5132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Lefty Leverenz updated HIVE-5132:
    ---------------------------------
         Labels: TODOC10 TODOC13 (was: )
    Can't access to hwi due to "No Java compiler available"
    -------------------------------------------------------

    Key: HIVE-5132
    URL: https://issues.apache.org/jira/browse/HIVE-5132
    Project: Hive
    Issue Type: Bug
    Affects Versions: 0.10.0, 0.11.0
    Environment: JDK1.6, hadoop 2.0.4-alpha
    Reporter: Bing Li
    Assignee: Bing Li
    Priority: Critical
    Labels: TODOC10, TODOC13
    Fix For: 0.13.0

    Attachments: HIVE-5132-01.patch


    I want to use hwi to submit hive queries, but after start hwi successfully, I can't open the web page of it.
    I noticed that someone also met the same issue in hive-0.10.
    Reproduce steps:
    --------------------------
    1. start hwi
    bin/hive --config $HIVE_CONF_DIR --service hwi
    2. access to http://<hive_hwi_node>:9999/hwi via browser
    got the following error message:
    HTTP ERROR 500
    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)


    --
    This message was sent by Atlassian JIRA
    (v6.3.4#6332)
  • Lefty Leverenz (JIRA) at Dec 5, 2014 at 10:49 pm
    [ https://issues.apache.org/jira/browse/HIVE-5132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14236255#comment-14236255 ]

    Lefty Leverenz commented on HIVE-5132:
    --------------------------------------

    Added TODOC10 and TODOC13 labels because this affects versions 0.10 & 0.11 (& presumably 0.12) and was fixed in 0.13. If no documentation is needed, please remove the TODOC labels.

    * [Hive Web Interface -- Configuartion | https://cwiki.apache.org/confluence/display/Hive/HiveWebInterface#HiveWebInterface-Configuration]
    Can't access to hwi due to "No Java compiler available"
    -------------------------------------------------------

    Key: HIVE-5132
    URL: https://issues.apache.org/jira/browse/HIVE-5132
    Project: Hive
    Issue Type: Bug
    Affects Versions: 0.10.0, 0.11.0
    Environment: JDK1.6, hadoop 2.0.4-alpha
    Reporter: Bing Li
    Assignee: Bing Li
    Priority: Critical
    Labels: TODOC10, TODOC13
    Fix For: 0.13.0

    Attachments: HIVE-5132-01.patch


    I want to use hwi to submit hive queries, but after start hwi successfully, I can't open the web page of it.
    I noticed that someone also met the same issue in hive-0.10.
    Reproduce steps:
    --------------------------
    1. start hwi
    bin/hive --config $HIVE_CONF_DIR --service hwi
    2. access to http://<hive_hwi_node>:9999/hwi via browser
    got the following error message:
    HTTP ERROR 500
    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)


    --
    This message was sent by Atlassian JIRA
    (v6.3.4#6332)

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshive, hadoop
postedDec 5, '14 at 11:17a
activeDec 5, '14 at 10:49p
posts4
users1
websitehive.apache.org

1 user in discussion

Lefty Leverenz (JIRA): 4 posts

People

Translate

site design / logo © 2021 Grokbase