hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9578) Add support for getDatabases and alterDatabase calls [hbase-metastore branch]
Date Tue, 10 Feb 2015 01:14:34 GMT

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

Alan Gates commented on HIVE-9578:
----------------------------------

bq. What tests go into TestHBaseStoreIntegration vs TestHBaseStore. It seems like the tests
added to TestHBaseStoreIntegration could be added in TestHBaseStore as well.
Sorry, I missed this comment earlier.  When possible I prefer adding tests to TestHBaseStore
as it contains true unit tests that are easier to run and debug.  However, TestHBaseStore
isn't really working against HBase but against a Mockito imitation.  This makes certain operations
hard, like multiple gets and more complex scans.  So those I tend to do in TestHBaseStoreIntegration,
since it is going against a real HBase instance.  I could of course enhance my Mockito hbase
to handle all this, but at some point that seems to yield diminishing returns and just gets
easier to put it in TestHBaseStoreIntegration.

> Add support for getDatabases and alterDatabase calls [hbase-metastore branch]
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-9578
>                 URL: https://issues.apache.org/jira/browse/HIVE-9578
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-9578.patch
>
>
> The initial patch only supporting getting a single database, add database, and drop database.
 Support needs to be added for alter database, getting all the databases, and getting database
names by pattern.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message