Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 04EB8200BCC for ; Mon, 14 Nov 2016 12:02:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 02588160B05; Mon, 14 Nov 2016 11:02:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 75F3D160B06 for ; Mon, 14 Nov 2016 12:01:59 +0100 (CET) Received: (qmail 33523 invoked by uid 500); 14 Nov 2016 11:01:58 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 33492 invoked by uid 99); 14 Nov 2016 11:01:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2016 11:01:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7B2F32C4C76 for ; Mon, 14 Nov 2016 11:01:58 +0000 (UTC) Date: Mon, 14 Nov 2016 11:01:58 +0000 (UTC) From: "Gopal V (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HIVE-15196) LLAP UI: HIVE-14984 broke LLAP UI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 14 Nov 2016 11:02:00 -0000 [ 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)