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

Eugene Koifman updated HIVE-4749:
---------------------------------

    Description: 
webhcat-default.xml (webhcat-stie.xml) has templeton.hive.properties which 
specifies values of some properties to pass to hive, in particular 
hive.metastore.uris.  This is then passes as a start up parameter to Hive when 
WebHCat launches Hive to execute a query.  (The design is that for job 
submission WebHCat expects a Hive metastore to be running somewhere.)

On the other hand, when a DDL operation is executed, WebHCat ignores 
webhcat-default.xml and expects hive-site.xml to contain hive.mestastore.uris, 
etc.

This is very confusing (unless you happen to know this).

There should be a single source of truth.

Since we always expect Hive to be installed on the machine running WebHCat (to 
execute DDL command), we should probably get rid of templeton.hive.properties 
in webhcat-default/site.xml and get this from hive-site.xml.




  was:
webhcat-default.xml (webhcat-stie.xml) has templeton.hive.properties which 
specifies values of some properties to pass to hive, in particular 
hive.metastore.uris.  This is then passes as a start up parameter to Hive when 
WebHCat launches Hive to execute a query.  (The design is that for job 
submission WebHCat expects a Hive metastore to be running somewhere.)

On the other hand, when a DDL operation is executed, WebHCat ignores 
webhcat-default.xml and expects hive-site.xml to contain hive.mestastore.uris, 
etc.

This is very confusing (unless you happen to know this).

There should be a single source of truth.




    
> WebHCat reads hive.metastore.uris, etc. from different places for different 
> types of operations
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4749
>                 URL: https://issues.apache.org/jira/browse/HIVE-4749
>             Project: Hive
>          Issue Type: Improvement
>          Components: HCatalog
>    Affects Versions: 0.11.0
>            Reporter: Eugene Koifman
>
> webhcat-default.xml (webhcat-stie.xml) has templeton.hive.properties which 
> specifies values of some properties to pass to hive, in particular 
> hive.metastore.uris.  This is then passes as a start up parameter to Hive 
> when WebHCat launches Hive to execute a query.  (The design is that for job 
> submission WebHCat expects a Hive metastore to be running somewhere.)
> On the other hand, when a DDL operation is executed, WebHCat ignores 
> webhcat-default.xml and expects hive-site.xml to contain 
> hive.mestastore.uris, etc.
> This is very confusing (unless you happen to know this).
> There should be a single source of truth.
> Since we always expect Hive to be installed on the machine running WebHCat 
> (to execute DDL command), we should probably get rid of 
> templeton.hive.properties in webhcat-default/site.xml and get this from 
> hive-site.xml.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to