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

Barna Zsombor Klara commented on HIVE-15196:
--------------------------------------------

Ok this seems easy to fix, I would move this logic to the builder so that you 
can build an http server with or without context root rewriting, I probably 
should have done it like this in the first place.
Would you like me to do it? (Since I broke it to begin with....)

> 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