[jira] [Updated] (HIVE-7342) support hiveserver2,metastore specific config files

2014-11-17 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-7342:

Labels:   (was: TODOC14)

 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
 Fix For: 0.14.0

 Attachments: HIVE-7342.1.patch, HIVE-7342.2.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, 
 hivemetastore-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.3.4#6332)


[jira] [Updated] (HIVE-7342) support hiveserver2,metastore specific config files

2014-07-16 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-7342:


Release Note: 
Adds support for server specific config files. 

HiveMetastore server reads hive-site.xml as well as hivemetastore-site.xml 
configuration files that are available in the $HIVE_CONF_DIR or in the 
classpath. If metastore is being used in embedded mode (ie hive.metastore.uris 
is not set or empty) in hive commandline or hiveserver2, the 
hivemetastore-site.xml gets loaded by the parent process as well. 
The value of hive.metastore.uris is examined to determine this, and the value 
should be set appropriately in hive-site.xml .
Certain metastore configuration parameters like hive.metastore.sasl.enabled, 
hive.metastore.kerberos.principal, hive.metastore.execute.setugi, 
hive.metastore.thrift.framed.transport.enabled are used by the metastore client 
as well as server. For such common parameters it is better to set the values in 
hive-site.xml, that will help in keeping them consistent.

HiveServer2 reads hive-site.xml as well as hiveserver2-site.xml that are 
available in the $HIVE_CONF_DIR or in the classpath. 
If hiveserver2 is using metastore in embedded mode, hivemetastore-site.xml also 
is loaded.

The order of precedence of the config files is as follows (later one has higher 
precedence) -
hive-site.xml - hivemetastore-site.xml - hiveserver2-site.xml - '-hiveconf' 
commandline parameters



  was:
Adds support for server specific config files. 

HiveMetastore server reads hive-site.xml as well as hivemetastore-site.xml 
configuration files that are available in the $HIVE_CONF_DIR or in the 
classpath. If metastore is being used in embedded mode (ie hive.metastore.uris 
is not set or empty) in hive commandline or hiveserver2, the 
hivemetastore-site.xml gets loaded by the parent process as well. 
The value of hive.metastore.uris is examined to determine this, and the value 
should be set appropriately in hive-site.xml .

HiveServer2 reads hive-site.xml as well as hiveserver2-site.xml that are 
available in the $HIVE_CONF_DIR or in the classpath. 
If hiveserver2 is using metastore in embedded mode, hivemetastore-site.xml also 
is loaded.

The order of precedence of the config files is as follows (later one has higher 
precedence) -
hive-site.xml - hivemetastore-site.xml - hiveserver2-site.xml - '-hiveconf' 
commandline parameters



 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, HIVE-7342.2.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, 
 hivemetastore-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)


[jira] [Updated] (HIVE-7342) support hiveserver2,metastore specific config files

2014-07-16 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-7342:


   Resolution: Fixed
Fix Version/s: 0.14.0
   Status: Resolved  (was: Patch Available)

Patch committed to trunk.
Thanks for the reviews Jason, Sushanth and Prasad!


 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
 Fix For: 0.14.0

 Attachments: HIVE-7342.1.patch, HIVE-7342.2.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, 
 hivemetastore-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)


[jira] [Updated] (HIVE-7342) support hiveserver2,metastore specific config files

2014-07-16 Thread Lefty Leverenz (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lefty Leverenz updated HIVE-7342:
-

Labels: TODOC14  (was: )

 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
  Labels: TODOC14
 Fix For: 0.14.0

 Attachments: HIVE-7342.1.patch, HIVE-7342.2.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, 
 hivemetastore-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)


[jira] [Updated] (HIVE-7342) support hiveserver2,metastore specific config files

2014-07-15 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-7342:


Description: 
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, 
hivemetastore-site.xml) that override the entries in hive-site.xml will make 
the configuration much more easy to manage.


  was:
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.



 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, HIVE-7342.2.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, 
 hivemetastore-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)


[jira] [Updated] (HIVE-7342) support hiveserver2,metastore specific config files

2014-07-15 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-7342:


Release Note: 
Adds support for server specific config files. 

HiveMetastore server reads hive-site.xml as well as hivemetastore-site.xml 
configuration files that are available in the $HIVE_CONF_DIR or in the 
classpath. If metastore is being used in embedded mode (ie hive.metastore.uris 
is not set or empty) in hive commandline or hiveserver2, the 
hivemetastore-site.xml gets loaded by the parent process as well. 
The value of hive.metastore.uris is examined to determine this, and the value 
should be set appropriately in hive-site.xml .

HiveServer2 reads hive-site.xml as well as hiveserver2-site.xml that are 
available in the $HIVE_CONF_DIR or in the classpath. 
If hiveserver2 is using metastore in embedded mode, hivemetastore-site.xml also 
is loaded.

The order of precedence of the config files is as follows (later one has higher 
precedence) -
hive-site.xml - hivemetastore-site.xml - hiveserver2-site.xml - '-hiveconf' 
commandline parameters


 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, HIVE-7342.2.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, 
 hivemetastore-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)


[jira] [Updated] (HIVE-7342) support hiveserver2,metastore specific config files

2014-07-10 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-7342:


Attachment: HIVE-7342.2.patch

 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, HIVE-7342.2.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)


[jira] [Updated] (HIVE-7342) support hiveserver2,metastore specific config files

2014-07-07 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-7342:


Attachment: HIVE-7342.1.patch

 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)


[jira] [Updated] (HIVE-7342) support hiveserver2,metastore specific config files

2014-07-07 Thread Thejas M Nair (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-7342:


Status: Patch Available  (was: Open)

 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)