[ 
https://issues.apache.org/jira/browse/HIVE-13074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shinichi Yamashita updated HIVE-13074:
--------------------------------------
    Status: Patch Available  (was: Open)

> NPE with HS2 Web UI when SQLOperationDisplay is null
> ----------------------------------------------------
>
>                 Key: HIVE-13074
>                 URL: https://issues.apache.org/jira/browse/HIVE-13074
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Shinichi Yamashita
>            Assignee: Shinichi Yamashita
>         Attachments: HIVE-13074.1.patch
>
>
> In current master, I executed the following command,
> {code}
> 0: jdbc:hive2://XXX:10000/> set hive.execution.engine;
> {code}
> Next, I accessed Web page of HS2. And the following messages were displayed.
> {code}
> HTTP ERROR 500
> Problem accessing /hiveserver2.jsp. Reason:
>     Server Error
> Caused by:
> java.lang.NullPointerException
>       at 
> org.apache.hive.generated.hiveserver2.hiveserver2_jsp._jspService(hiveserver2_jsp.java:131)
>       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
>       (snip)
> {code}
> I think {{SQLOperationDisplay}} needs the handle when being null.



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

Reply via email to