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.thrift2 |
Provides an HBase Thrift
service.
|
org.apache.hadoop.hbase.thrift2.client |
Modifier and Type | Field and Description |
---|---|
static NamespaceDescriptor |
NamespaceDescriptor.DEFAULT_NAMESPACE |
static NamespaceDescriptor |
NamespaceDescriptor.SYSTEM_NAMESPACE |
Modifier and Type | Field and Description |
---|---|
private NavigableMap<String,NamespaceDescriptor> |
ZKNamespaceManager.cache |
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) |
private void |
ZKNamespaceManager.writeNamespace(NamespaceDescriptor ns) |
Constructor and Description |
---|
Builder(NamespaceDescriptor ns) |
Modifier and Type | Method and Description |
---|---|
NamespaceDescriptor |
Admin.getNamespaceDescriptor(String name)
Get a namespace descriptor by name.
|
NamespaceDescriptor |
HBaseAdmin.getNamespaceDescriptor(String name) |
NamespaceDescriptor[] |
Admin.listNamespaceDescriptors()
List available namespace descriptors
|
NamespaceDescriptor[] |
HBaseAdmin.listNamespaceDescriptors()
List available namespace descriptors
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<NamespaceDescriptor> |
AsyncAdmin.getNamespaceDescriptor(String name)
Get a namespace descriptor by name
|
CompletableFuture<NamespaceDescriptor> |
RawAsyncHBaseAdmin.getNamespaceDescriptor(String name) |
CompletableFuture<NamespaceDescriptor> |
AsyncHBaseAdmin.getNamespaceDescriptor(String name) |
CompletableFuture<List<NamespaceDescriptor>> |
AsyncAdmin.listNamespaceDescriptors()
List available namespace descriptors
|
CompletableFuture<List<NamespaceDescriptor>> |
RawAsyncHBaseAdmin.listNamespaceDescriptors() |
CompletableFuture<List<NamespaceDescriptor>> |
AsyncHBaseAdmin.listNamespaceDescriptors() |
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 | Field and Description |
---|---|
private static List<NamespaceDescriptor> |
ClusterSchemaServiceImpl.EMPTY_NAMESPACE_LIST |
Modifier and Type | Method and Description |
---|---|
NamespaceDescriptor |
TableNamespaceManager.get(String name) |
private NamespaceDescriptor |
TableNamespaceManager.get(Table table,
String name) |
NamespaceDescriptor |
ClusterSchema.getNamespace(String name)
Get a Namespace
|
NamespaceDescriptor |
ClusterSchemaServiceImpl.getNamespace(String name) |
(package private) NamespaceDescriptor |
HMaster.getNamespace(String name)
Get a Namespace
|
Modifier and Type | Method and Description |
---|---|
List<NamespaceDescriptor> |
ClusterSchema.getNamespaces()
Get all Namespaces
|
List<NamespaceDescriptor> |
ClusterSchemaServiceImpl.getNamespaces() |
(package private) List<NamespaceDescriptor> |
HMaster.getNamespaces()
Get all Namespaces
|
NavigableSet<NamespaceDescriptor> |
TableNamespaceManager.list() |
Modifier and Type | Method and Description |
---|---|
private void |
TableNamespaceManager.blockingCreateNamespace(NamespaceDescriptor namespaceDescriptor)
Create Namespace in a blocking manner.
|
(package private) long |
HMaster.createNamespace(NamespaceDescriptor namespaceDescriptor,
long nonceGroup,
long nonce)
Create a new Namespace.
|
long |
ClusterSchema.createNamespace(NamespaceDescriptor namespaceDescriptor,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
Create a new Namespace.
|
long |
ClusterSchemaServiceImpl.createNamespace(NamespaceDescriptor namespaceDescriptor,
NonceKey nonceKey,
ProcedurePrepareLatch latch) |
static long |
TableNamespaceManager.getMaxRegions(NamespaceDescriptor ns) |
static long |
TableNamespaceManager.getMaxTables(NamespaceDescriptor ns) |
void |
TableNamespaceManager.insertIntoNSTable(NamespaceDescriptor ns) |
(package private) long |
HMaster.modifyNamespace(NamespaceDescriptor newNsDescriptor,
long nonceGroup,
long nonce)
Modify an existing Namespace.
|
long |
ClusterSchema.modifyNamespace(NamespaceDescriptor descriptor,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
Modify an existing Namespace.
|
long |
ClusterSchemaServiceImpl.modifyNamespace(NamespaceDescriptor namespaceDescriptor,
NonceKey nonceKey,
ProcedurePrepareLatch latch) |
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 | Field and Description |
---|---|
private NamespaceDescriptor |
ModifyNamespaceProcedure.newNsDescriptor |
private NamespaceDescriptor |
DeleteNamespaceProcedure.nsDescriptor |
private NamespaceDescriptor |
CreateNamespaceProcedure.nsDescriptor |
private NamespaceDescriptor |
ModifyNamespaceProcedure.oldNsDescriptor |
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 |
---|---|
private NamespaceDescriptor |
NamespaceStateManager.getNamespaceDescriptor(String namespaceAsString) |
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 |
SnapshotScannerHDFSAclController.postCreateNamespace(ObserverContext<MasterCoprocessorEnvironment> c,
NamespaceDescriptor ns) |
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 |
ThriftUtilities.namespaceDescriptorFromThrift(org.apache.hadoop.hbase.thrift2.generated.TNamespaceDescriptor in) |
static NamespaceDescriptor[] |
ThriftUtilities.namespaceDescriptorsFromThrift(List<org.apache.hadoop.hbase.thrift2.generated.TNamespaceDescriptor> in) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.thrift2.generated.TNamespaceDescriptor |
ThriftUtilities.namespaceDescriptorFromHBase(NamespaceDescriptor in) |
static List<org.apache.hadoop.hbase.thrift2.generated.TNamespaceDescriptor> |
ThriftUtilities.namespaceDescriptorsFromHBase(NamespaceDescriptor[] in) |
Modifier and Type | Method and Description |
---|---|
NamespaceDescriptor |
ThriftAdmin.getNamespaceDescriptor(String name) |
NamespaceDescriptor[] |
ThriftAdmin.listNamespaceDescriptors() |
Modifier and Type | Method and Description |
---|---|
void |
ThriftAdmin.createNamespace(NamespaceDescriptor descriptor) |
Future<Void> |
ThriftAdmin.createNamespaceAsync(NamespaceDescriptor descriptor) |
void |
ThriftAdmin.modifyNamespace(NamespaceDescriptor descriptor) |
Future<Void> |
ThriftAdmin.modifyNamespaceAsync(NamespaceDescriptor descriptor) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.