@InterfaceAudience.Private
public interface ClusterSchema
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT
Default operation timeout in milliseconds.
|
static String |
HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT_KEY
Timeout for cluster operations in milliseconds.
|
| Modifier and Type | Method and Description |
|---|---|
long |
createNamespace(org.apache.hadoop.hbase.NamespaceDescriptor namespaceDescriptor,
org.apache.hadoop.hbase.util.NonceKey nonceKey,
ProcedurePrepareLatch latch)
Create a new Namespace.
|
long |
deleteNamespace(String name,
org.apache.hadoop.hbase.util.NonceKey nonceKey,
ProcedurePrepareLatch latch)
Delete an existing Namespace.
|
org.apache.hadoop.hbase.NamespaceDescriptor |
getNamespace(String name)
Get a Namespace
|
List<org.apache.hadoop.hbase.NamespaceDescriptor> |
getNamespaces()
Get all Namespaces
|
TableNamespaceManager |
getTableNamespaceManager()
For internals use only.
|
long |
modifyNamespace(org.apache.hadoop.hbase.NamespaceDescriptor descriptor,
org.apache.hadoop.hbase.util.NonceKey nonceKey,
ProcedurePrepareLatch latch)
Modify an existing Namespace.
|
static final String HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT_KEY
static final int DEFAULT_HBASE_MASTER_CLUSTER_SCHEMA_OPERATION_TIMEOUT
TableNamespaceManager getTableNamespaceManager()
TableNamespaceManagerlong createNamespace(org.apache.hadoop.hbase.NamespaceDescriptor namespaceDescriptor,
org.apache.hadoop.hbase.util.NonceKey nonceKey,
ProcedurePrepareLatch latch)
throws IOException
namespaceDescriptor - descriptor for new NamespacenonceKey - A unique identifier for this operation from the client or process.latch - A latch to block on for precondition validationIOException - Throws ClusterSchemaException and InterruptedIOException
as well as IOExceptionlong modifyNamespace(org.apache.hadoop.hbase.NamespaceDescriptor descriptor,
org.apache.hadoop.hbase.util.NonceKey nonceKey,
ProcedurePrepareLatch latch)
throws IOException
nonceKey - A unique identifier for this operation from the client or process.latch - A latch to block on for precondition validationIOException - Throws ClusterSchemaException and InterruptedIOException
as well as IOExceptionlong deleteNamespace(String name, org.apache.hadoop.hbase.util.NonceKey nonceKey, ProcedurePrepareLatch latch) throws IOException
nonceKey - A unique identifier for this operation from the client or process.latch - A latch to block on for precondition validationIOException - Throws ClusterSchemaException and InterruptedIOException
as well as IOExceptionorg.apache.hadoop.hbase.NamespaceDescriptor getNamespace(String name) throws IOException
name - Name of the NamespacenameIOException - Throws ClusterSchemaException and InterruptedIOException
as well as IOExceptionList<org.apache.hadoop.hbase.NamespaceDescriptor> getNamespaces() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.