Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC1D111D75 for ; Thu, 4 Sep 2014 00:09:52 +0000 (UTC) Received: (qmail 94242 invoked by uid 500); 4 Sep 2014 00:09:52 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 94170 invoked by uid 500); 4 Sep 2014 00:09:52 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 94154 invoked by uid 500); 4 Sep 2014 00:09:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 94148 invoked by uid 99); 4 Sep 2014 00:09:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2014 00:09:52 +0000 Date: Thu, 4 Sep 2014 00:09:52 +0000 (UTC) From: "Thejas M Nair (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7972) hiveserver2 specific configuration file is not getting used MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thejas M Nair updated HIVE-7972: -------------------------------- Attachment: HIVE-7972.1.patch Hive metastore is already doing the same thing by updating HiveConf in HiveMetastore.main. Tested this manually. MiniHS2 and embedded HS2 does not use this code path, so can't reproduce it using MiniHS2. > hiveserver2 specific configuration file is not getting used > ----------------------------------------------------------- > > Key: HIVE-7972 > URL: https://issues.apache.org/jira/browse/HIVE-7972 > Project: Hive > Issue Type: Bug > Reporter: Thejas M Nair > Attachments: HIVE-7972.1.patch > > > The HiveServer2 specific configuration file introduced in HIVE-7342 is not getting used when hiveserver2 is started from commandline. This is because the HiveConf used in HiveServer2.init is actually created before HiveServer2 constructor is called. > The tests are using embedded HiveServer2 which does not go through HiveServer2.main and don't show this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)