[
https://issues.apache.org/jira/browse/HIVE-15196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15663453#comment-15663453
]
Gopal V edited comment on HIVE-15196 at 11/14/16 11:01 AM:
-----------------------------------------------------------
Yeah, LLAP uses the same HttpServer impl.
{code}
HttpServer.Builder builder =
new HttpServer.Builder("llap").setPort(this.port).setHost(bindAddress);
{code}
Before this regex rewrite it would load "hive-webapps/llap/index.html"
automatically.
After that
{code}
HTTP ERROR 500
Problem accessing /hiveserver2.jsp. Reason:
JSP support not configured
{code}
was (Author: gopalv):
Yeah, LLAP uses the same HttpServer impl.
{code}
HttpServer.Builder builder =
new HttpServer.Builder("llap").setPort(this.port).setHost(bindAddress);
{code}
Before this regex rewrite it would load "hive-webapps/llap/index.html"
automatically.
> LLAP UI: HIVE-14984 broke LLAP UI
> ---------------------------------
>
> Key: HIVE-15196
> URL: https://issues.apache.org/jira/browse/HIVE-15196
> Project: Hive
> Issue Type: Bug
> Components: llap, Web UI
> Affects Versions: 2.2.0
> Reporter: Gopal V
>
> Hard-rewrite rule to the HS2 UI in HttpServer impl
> {code}
> RewriteRegexRule rootRule = new RewriteRegexRule();
> rootRule.setRegex("^/$");
> rootRule.setReplacement("/hiveserver2.jsp");
> rootRule.setTerminating(true);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)