hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14888) ClusterSchema: Add Namespace Operations
Date Mon, 04 Jan 2016 15:20:39 GMT

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

Matteo Bertozzi commented on HBASE-14888:
-----------------------------------------

the patch removes the waitForProcedureToComplete() and replaces it with getClusterSchema().get(future)
which does a waitProcedureResult(), ending up in the same sync code. createNamespace(), modifyNamespace(),
deleteNamespace() should not be spinning. they should be the same as all the other admin operation
(create/modify/delete table, ...) and return the procId and have the client with the proper
wait until proc complete logic. 


> 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, 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
(v6.3.4#6332)

Mime
View raw message