hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14888) ClusterSchema: Add Namespace Operations
Date Tue, 05 Jan 2016 06:43:39 GMT

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

stack updated HBASE-14888:
    Attachment: 14888v22.patch

Address [~mbertozzi] feedback:

1. Add async create versions of namespace ops. Redo the synchronous method on top of the async.
2. Change the operation type back to Strings.
3. Future<ProcedureInfo> doesn't make sense in this patch now we have made the namespace
methods async to the client; patch is cleaner w/o it. Later, when CluserSchema gets fatter
and we want to test it standalone as in attached test.patch, a version of Future<ProcedureInfo>
on server-side will probably make sense. Will bring it in then when have use for it.
4. Changed the blocking method in TableNamespaceManager to use the isFinished.... thats better.

Other change:

a. In HBaseAdmin, made utility method for all blocking gets on Future<Void> (namespace
and tables)
b. Changed Server adding a getClusterConnection. Otherwise, mocking gets messy because we
have to use deprecated methods and classes; HTableInterface and HConnection everywhere. This
change ripples a bit which  means mocked Masters and RegionServers should be coalesced....
too many instances currently.

Lets see whats broke.

After this, will work on shrinking, getting rid of TableNamespaceManager. 

> ClusterSchema: Add Namespace Operations
> ---------------------------------------
>                 Key: HBASE-14888
>                 URL: https://issues.apache.org/jira/browse/HBASE-14888
>             Project: HBase
>          Issue Type: Sub-task
>          Components: API
>            Reporter: stack
>            Assignee: stack
>             Fix For: 2.0.0
>         Attachments: 0001-Add-in-a-ClusterSchema-Interface.-It-will-have-all-Av2.patch,
14888.patch, 14888.v8.txt, 14888v11.patch, 14888v12.patch, 14888v13.patch, 14888v14.patch,
14888v15.patch, 14888v16.patch, 14888v17.txt, 14888v18.patch, 14888v19.patch, 14888v20.patch,
14888v22.patch, 14888v3.txt, 14888v4.txt, 14888v5.txt, 14888v6.txt, 14888v7.txt, 14888v9.txt,
> Add in a ClusterSchema Interface. It will have all API for all cluster manipulation;
adding namespaces, tables, amending column families, etc. The idea is to gather up our mess
and put it all behind a tidy API that all works the same way whatever you changing returning
a Future to wait on and behind the scenes driving Procedures.
> This patch does namespace operations first.

This message was sent by Atlassian JIRA

View raw message