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

Gopal V commented on HIVE-15196:
--------------------------------

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)

Reply via email to