Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.quotas |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<QuotaSettings>> |
AsyncAdmin.getQuota(QuotaFilter filter)
List the quotas based on the filter.
|
List<QuotaSettings> |
Admin.getQuota(QuotaFilter filter)
List the quotas based on the filter.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
AsyncAdmin.setQuota(QuotaSettings quota)
Apply the new quota settings.
|
void |
Admin.setQuota(QuotaSettings quota)
Apply the new quota settings.
|
Modifier and Type | Method and Description |
---|---|
static QuotaSettings |
QuotaSettings.buildFromProto(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest request)
Converts the protocol buffer request into a QuotaSetting POJO.
|
static QuotaSettings |
QuotaSettingsFactory.bypassGlobals(String userName,
boolean bypassGlobals)
Set the "bypass global settings" for the specified user
|
static QuotaSettings |
QuotaSettingsFactory.limitNamespaceSpace(String namespace,
long sizeLimit,
SpaceViolationPolicy violationPolicy)
Creates a
QuotaSettings object to limit the FileSystem space usage for the given
namespace to the given size in bytes. |
static QuotaSettings |
QuotaSettingsFactory.limitTableSpace(TableName tableName,
long sizeLimit,
SpaceViolationPolicy violationPolicy)
Creates a
QuotaSettings object to limit the FileSystem space usage for the given table
to the given size in bytes. |
QuotaSettings |
QuotaRetriever.next() |
static QuotaSettings |
QuotaSettingsFactory.removeNamespaceSpaceLimit(String namespace)
Creates a
QuotaSettings object to remove the FileSystem space quota for the given
namespace. |
static QuotaSettings |
QuotaSettingsFactory.removeTableSpaceLimit(TableName tableName)
Creates a
QuotaSettings object to remove the FileSystem space quota for the given
table. |
static QuotaSettings |
QuotaSettingsFactory.throttleNamespace(String namespace,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.throttleTable(TableName tableName,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
String namespace,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified user on the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
TableName tableName,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified user on the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified user.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleNamespace(String namespace)
Remove the throttling for the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleTable(TableName tableName)
Remove the throttling for the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleUser(String userName)
Remove the throttling for the specified user.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleUser(String userName,
String namespace)
Remove the throttling for the specified user on the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleUser(String userName,
TableName tableName)
Remove the throttling for the specified user on the specified table.
|
Modifier and Type | Method and Description |
---|---|
protected static List<QuotaSettings> |
QuotaSettingsFactory.fromThrottle(String userName,
TableName tableName,
String namespace,
org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle throttle) |
Iterator<QuotaSettings> |
QuotaRetriever.iterator() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest |
QuotaSettings.buildSetQuotaRequestProto(QuotaSettings settings)
Convert a QuotaSettings to a protocol buffer SetQuotaRequest.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.