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

Jason Dere commented on HIVE-7342:
----------------------------------

Just trying to understand which apps will load which configs:

- HiveCLI, remote metastore: hive-site
- HiveCLI, embedded metastore: hive-site, metastore-site
- Beeline, embedded mode: hive-site, hiveserver2-site, metastore-site (if 
embedded metastore)
- Beeline, remote mode: ?
- Metastore Server: hive-site, metastore-site
- HiveServer2, remote metastore (I've heard this is not a recommended 
configuration?): hive-site, hiveserver2-site
- HiveServer2, embedded metastore: hive-site, metastore-site, hiveserver2-site


> support hiveserver2,metastore specific config files
> ---------------------------------------------------
>
>                 Key: HIVE-7342
>                 URL: https://issues.apache.org/jira/browse/HIVE-7342
>             Project: Hive
>          Issue Type: Bug
>          Components: Configuration, HiveServer2, Metastore
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-7342.1.patch
>
>
> There is currently a single configuration file for all components in hive. 
> ie, components such as hive cli, hiveserver2 and metastore all read from the 
> same hive-site.xml. 
> It will be useful to have a server specific hive-site.xml, so that you can 
> have some different configuration value set for a server. For example, you 
> might want to enabled authorization checks for hiveserver2, while disabling 
> the checks for hive cli. The workaround today is to add any component 
> specific configuration as a commandline (-hiveconf) argument.
> Using server specific config files (eg hiveserver2-site.xml, 
> metastore-site.xml) that override the entries in hive-site.xml will make the 
> configuration much more easy to manage.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to