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

Rentao Wu commented on HIVE-12679:
----------------------------------

I would like to bring up this JIRA again for consideration as it allows for 
alternative metastore clients such to AWS Glue DataCatalog. Would the approach 
of changing SessionHiveMetastoreClient to have a delegate implementation of 
IMetastoreClient work? (Removing inheritance of extending HiveMetastoreClient 
impl) If that is fine approach I'll work on a new patch for this.

http://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-hive-metastore-glue.html
https://aws.amazon.com/glue/details/

> Allow users to be able to specify an implementation of IMetaStoreClient via 
> HiveConf
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-12679
>                 URL: https://issues.apache.org/jira/browse/HIVE-12679
>             Project: Hive
>          Issue Type: Improvement
>          Components: Configuration, Metastore, Query Planning
>            Reporter: Austin Lee
>            Assignee: Rentao Wu
>            Priority: Minor
>              Labels: metastore
>         Attachments: HIVE-12679.1.patch, HIVE-12679.2.patch, HIVE-12679.patch
>
>
> Hi,
> I would like to propose a change that would make it possible for users to 
> choose an implementation of IMetaStoreClient via HiveConf, i.e. 
> hive-site.xml.  Currently, in Hive the choice is hard coded to be 
> SessionHiveMetaStoreClient in org.apache.hadoop.hive.ql.metadata.Hive.  There 
> is no other direct reference to SessionHiveMetaStoreClient other than the 
> hard coded class name in Hive.java and the QL component operates only on the 
> IMetaStoreClient interface so the change would be minimal and it would be 
> quite similar to how an implementation of RawStore is specified and loaded in 
> hive-metastore.  One use case this change would serve would be one where a 
> user wishes to use an implementation of this interface without the dependency 
> on the Thrift server.
>   
> Thank you,
> Austin



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to