Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.quotas |
Modifier and Type | Method and Description |
---|---|
List<QuotaSettings> |
HBaseAdmin.getQuota(QuotaFilter filter) |
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 |
---|---|
void |
HBaseAdmin.setQuota(QuotaSettings quota) |
CompletableFuture<Void> |
AsyncAdmin.setQuota(QuotaSettings quota)
Apply the new quota settings.
|
void |
Admin.setQuota(QuotaSettings quota)
Apply the new quota settings.
|
Modifier and Type | Class and Description |
---|---|
class |
GlobalQuotaSettings
An object which captures all quotas types (throttle or space) for a subject (user, table, or
namespace).
|
class |
GlobalQuotaSettingsImpl
Implementation of
GlobalQuotaSettings to hide the Protobuf messages we use internally. |
Modifier and Type | Method and Description |
---|---|
static QuotaSettings |
QuotaSettings.buildFromProto(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,
QuotaProtos.Throttle throttle) |
List<QuotaSettings> |
GlobalQuotaSettingsImpl.getQuotaSettings() |
abstract List<QuotaSettings> |
GlobalQuotaSettings.getQuotaSettings()
Computes a list of QuotaSettings that present the complete quota state of the combination of
this user, table, and/or namespace.
|
Iterator<QuotaSettings> |
QuotaRetriever.iterator() |
Modifier and Type | Method and Description |
---|---|
static MasterProtos.SetQuotaRequest |
QuotaSettings.buildSetQuotaRequestProto(QuotaSettings settings)
Convert a QuotaSettings to a protocol buffer SetQuotaRequest.
|
protected GlobalQuotaSettingsImpl |
GlobalQuotaSettingsImpl.merge(QuotaSettings other) |
Modifier and Type | Method and Description |
---|---|
static void |
QuotaTableUtil.parseResultToCollection(Result result,
Collection<QuotaSettings> quotaSettings) |
Copyright © 2007–2019 Cloudera. All rights reserved.