[ 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)