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

Alan Gates commented on HIVE-18755:
-----------------------------------

The PR is not yet ready for merging, I'm just posting it as preliminary work, 
since the patch is huge.

So, let me begin by apologizing for the enormity of this patch.  I didn't see a 
good way of breaking it up without leaving lots of half baked stuff in there, 
so I did almost all of the metastore work in one pass.

Second, let me say my sincerest thanks to [~pvary] and others who added all the 
client tests.  They were invaluable in helping me test the new code.

A comment where I took a different path than in the doc posted at HIVE-18685.  
Rather than hard wiring all the old calls to the 'hive' catalog I added a 
notion of default catalog in the config file.  This defaults to 'hive'.  This 
allows an admin to set up a metastore server to talk to a non-'hive' catalog 
while still using older clients.  This seems like a useful feature.

While I have included a lot of testing in this patch there is still a fair 
amount to add.  Things I have tested:
 * new catalog calls
 * existing calls without catalog set
 * direct SQL access path for reading data out of the database.

Things I haven't tested yet but plan to before committing the patch:
 * an old client talking to the server; I want to make sure this works even 
though the old client will have no notion of catalogs
 * configuring the default catalog to be something other than 'hive' and making 
sure a client still works
 * the JDO access path for reading data out of the database

> Modifications to the metastore for catalogs
> -------------------------------------------
>
>                 Key: HIVE-18755
>                 URL: https://issues.apache.org/jira/browse/HIVE-18755
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Major
>              Labels: pull-request-available
>
> Step 1 of adding catalogs is to add support in the metastore.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to