Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.master.procedure | |
org.apache.hadoop.hbase.namespace | |
org.apache.hadoop.hbase.quotas | |
org.apache.hadoop.hbase.rsgroup | |
org.apache.hadoop.hbase.security.access | |
org.apache.hadoop.hbase.shaded.protobuf |
Modifier and Type | Field and Description |
---|---|
static NamespaceDescriptor |
NamespaceDescriptor.DEFAULT_NAMESPACE |
static NamespaceDescriptor |
NamespaceDescriptor.SYSTEM_NAMESPACE |
Modifier and Type | Field and Description |
---|---|
static Comparator<NamespaceDescriptor> |
NamespaceDescriptor.NAMESPACE_DESCRIPTOR_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
NamespaceDescriptor |
NamespaceDescriptor.Builder.build() |
NamespaceDescriptor |
ZKNamespaceManager.get(String name) |
Modifier and Type | Method and Description |
---|---|
NavigableSet<NamespaceDescriptor> |
ZKNamespaceManager.list() |
Modifier and Type | Method and Description |
---|---|
static NamespaceDescriptor.Builder |
NamespaceDescriptor.create(NamespaceDescriptor ns) |
void |
ZKNamespaceManager.update(NamespaceDescriptor ns) |
Modifier and Type | Method and Description |
---|---|
NamespaceDescriptor |
HBaseAdmin.getNamespaceDescriptor(String name) |
NamespaceDescriptor |
Admin.getNamespaceDescriptor(String name)
Get a namespace descriptor by name.
|
NamespaceDescriptor[] |
HBaseAdmin.listNamespaceDescriptors() |
NamespaceDescriptor[] |
Admin.listNamespaceDescriptors()
List available namespace descriptors.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<NamespaceDescriptor> |
AsyncAdmin.getNamespaceDescriptor(String name)
Get a namespace descriptor by name
|
CompletableFuture<List<NamespaceDescriptor>> |
AsyncAdmin.listNamespaceDescriptors()
List available namespace descriptors
|
Modifier and Type | Method and Description |
---|---|
void |
HBaseAdmin.createNamespace(NamespaceDescriptor descriptor) |
CompletableFuture<Void> |
AsyncAdmin.createNamespace(NamespaceDescriptor descriptor)
Create a new namespace.
|
void |
Admin.createNamespace(NamespaceDescriptor descriptor)
Create a new namespace.
|
Future<Void> |
HBaseAdmin.createNamespaceAsync(NamespaceDescriptor descriptor) |
Future<Void> |
Admin.createNamespaceAsync(NamespaceDescriptor descriptor)
Create a new namespace.
|
void |
HBaseAdmin.modifyNamespace(NamespaceDescriptor descriptor) |
CompletableFuture<Void> |
AsyncAdmin.modifyNamespace(NamespaceDescriptor descriptor)
Modify an existing namespace.
|
void |
Admin.modifyNamespace(NamespaceDescriptor descriptor)
Modify an existing namespace.
|
Future<Void> |
HBaseAdmin.modifyNamespaceAsync(NamespaceDescriptor descriptor) |
Future<Void> |
Admin.modifyNamespaceAsync(NamespaceDescriptor descriptor)
Modify an existing namespace.
|
Modifier and Type | Method and Description |
---|---|
default void |
MasterObserver.postCreateNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor ns)
Called after the createNamespace operation has been requested.
|
default void |
MasterObserver.postGetNamespaceDescriptor(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor ns)
Called after a getNamespaceDescriptor request has been processed.
|
default void |
MasterObserver.postModifyNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor currentNsDescriptor)
Deprecated.
Since 2.1. Will be removed in 3.0.
|
default void |
MasterObserver.postModifyNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor oldNsDescriptor,
NamespaceDescriptor currentNsDescriptor)
Called after the modifyNamespace operation has been requested.
|
default void |
MasterObserver.preCreateNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor ns)
Called before a new namespace is created by
HMaster . |
default void |
MasterObserver.preModifyNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor newNsDescriptor)
Deprecated.
Since 2.1. Will be removed in 3.0.
|
default void |
MasterObserver.preModifyNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor currentNsDescriptor,
NamespaceDescriptor newNsDescriptor)
Called prior to modifying a namespace's properties.
|
Modifier and Type | Method and Description |
---|---|
default void |
MasterObserver.postListNamespaceDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<NamespaceDescriptor> descriptors)
Called after a listNamespaceDescriptors request has been processed.
|
default void |
MasterObserver.preListNamespaceDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<NamespaceDescriptor> descriptors)
Called before a listNamespaceDescriptors request has been processed.
|
Modifier and Type | Method and Description |
---|---|
NamespaceDescriptor |
TableNamespaceManager.get(String name) |
NamespaceDescriptor |
ClusterSchema.getNamespace(String name)
Get a Namespace
|
Modifier and Type | Method and Description |
---|---|
List<NamespaceDescriptor> |
ClusterSchema.getNamespaces()
Get all Namespaces
|
NavigableSet<NamespaceDescriptor> |
TableNamespaceManager.list() |
Modifier and Type | Method and Description |
---|---|
long |
ClusterSchema.createNamespace(NamespaceDescriptor namespaceDescriptor,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
Create a new Namespace.
|
static long |
TableNamespaceManager.getMaxRegions(NamespaceDescriptor ns) |
static long |
TableNamespaceManager.getMaxTables(NamespaceDescriptor ns) |
void |
TableNamespaceManager.insertIntoNSTable(NamespaceDescriptor ns) |
long |
ClusterSchema.modifyNamespace(NamespaceDescriptor descriptor,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
Modify an existing Namespace.
|
void |
MasterCoprocessorHost.postCreateNamespace(NamespaceDescriptor ns) |
void |
MasterCoprocessorHost.postGetNamespaceDescriptor(NamespaceDescriptor ns) |
void |
MasterCoprocessorHost.postModifyNamespace(NamespaceDescriptor oldNsDescriptor,
NamespaceDescriptor currentNsDescriptor) |
void |
MasterCoprocessorHost.preCreateNamespace(NamespaceDescriptor ns) |
void |
MasterCoprocessorHost.preModifyNamespace(NamespaceDescriptor currentNsDescriptor,
NamespaceDescriptor newNsDescriptor) |
void |
TableNamespaceManager.updateZKNamespaceManager(NamespaceDescriptor ns) |
void |
TableNamespaceManager.validateTableAndRegionCount(NamespaceDescriptor desc) |
Modifier and Type | Method and Description |
---|---|
void |
MasterCoprocessorHost.postListNamespaceDescriptors(List<NamespaceDescriptor> descriptors) |
void |
MasterCoprocessorHost.preListNamespaceDescriptors(List<NamespaceDescriptor> descriptors) |
Modifier and Type | Method and Description |
---|---|
protected static void |
CreateNamespaceProcedure.createDirectory(MasterProcedureEnv env,
NamespaceDescriptor nsDescriptor)
Create the namespace directory
|
protected static void |
CreateNamespaceProcedure.insertIntoNSTable(MasterProcedureEnv env,
NamespaceDescriptor nsDescriptor)
Insert the row into ns table
|
protected static void |
CreateNamespaceProcedure.setNamespaceQuota(MasterProcedureEnv env,
NamespaceDescriptor nsDescriptor)
Set quota for the namespace
|
protected static void |
CreateNamespaceProcedure.updateZKNamespaceManager(MasterProcedureEnv env,
NamespaceDescriptor nsDescriptor)
Update ZooKeeper.
|
Constructor and Description |
---|
CreateNamespaceProcedure(MasterProcedureEnv env,
NamespaceDescriptor nsDescriptor) |
CreateNamespaceProcedure(MasterProcedureEnv env,
NamespaceDescriptor nsDescriptor,
ProcedurePrepareLatch latch) |
ModifyNamespaceProcedure(MasterProcedureEnv env,
NamespaceDescriptor newNsDescriptor) |
ModifyNamespaceProcedure(MasterProcedureEnv env,
NamespaceDescriptor newNsDescriptor,
ProcedurePrepareLatch latch) |
Modifier and Type | Method and Description |
---|---|
void |
NamespaceAuditor.addNamespace(NamespaceDescriptor ns) |
Modifier and Type | Method and Description |
---|---|
void |
MasterQuotaManager.setNamespaceQuota(NamespaceDescriptor desc) |
Modifier and Type | Method and Description |
---|---|
void |
RSGroupAdminEndpoint.preCreateNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor ns) |
void |
RSGroupAdminEndpoint.preModifyNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor ns) |
Modifier and Type | Method and Description |
---|---|
void |
AccessController.preCreateNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor ns) |
void |
AccessController.preModifyNamespace(ObserverContext<MasterCoprocessorEnvironment> ctx,
NamespaceDescriptor ns) |
Modifier and Type | Method and Description |
---|---|
void |
AccessController.postListNamespaceDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<NamespaceDescriptor> descriptors) |
Modifier and Type | Method and Description |
---|---|
static NamespaceDescriptor |
ProtobufUtil.toNamespaceDescriptor(HBaseProtos.NamespaceDescriptor desc) |
Modifier and Type | Method and Description |
---|---|
static List<NamespaceDescriptor> |
ProtobufUtil.toNamespaceDescriptorList(MasterProtos.ListNamespaceDescriptorsResponse proto)
Get a list of NamespaceDescriptor from ListNamespaceDescriptorsResponse protobuf
|
Modifier and Type | Method and Description |
---|---|
static MasterProtos.CreateNamespaceRequest |
RequestConverter.buildCreateNamespaceRequest(NamespaceDescriptor descriptor)
Creates a protocol buffer CreateNamespaceRequest
|
static MasterProtos.ModifyNamespaceRequest |
RequestConverter.buildModifyNamespaceRequest(NamespaceDescriptor descriptor)
Creates a protocol buffer ModifyNamespaceRequest
|
static HBaseProtos.NamespaceDescriptor |
ProtobufUtil.toProtoNamespaceDescriptor(NamespaceDescriptor ns) |
Copyright © 2007–2019 Cloudera. All rights reserved.