Package org.apache.hadoop.hbase.quotas
package org.apache.hadoop.hbase.quotas
-
ClassDescriptionA class to ease dealing with tables that have and do not have violation policies being enforced.This limiter will refill resources at every TimeUnit/resources interval.Interface allowing various implementations of tracking files that have recently been archived to allow for the Master to notice changes to snapshot sizes for space quotas.Factory class to create
FileArchiverNotifier
instances.A factory for getting instances ofFileArchiverNotifier
.Tracks file archiving and updates the hbase quota table.An Exception thrown when SnapshotSize updates to hbase:quota fail to be written.A struct encapsulating the name of a snapshot and its "size" on the filesystem.A reference to a collection of files in the archive directory for a single region.A chore which computes the size of eachHRegion
on the FileSystem hosted by the givenHRegionServer
.With this limiter resources will be refilled only after a fixed interval of time.An object which captures all quotas types (throttle or space) for a subject (user, table, or namespace).Implementation ofGlobalQuotaSettings
to hide the Protobuf messages we use internally.Master Quota Manager.Encapsulates CRUD quota operations for some subject.Holds the size of a region at the given time, millis since the epoch.An observer to automatically delete quotas when a table/namespace is deleted.QuotaSnapshotStore
implementation for namespaces.Noop operation quota returned when no quota is associated to the user/tableNoop quota limiter returned when no limiter is associated to the user/tableARegionSizeStore
implementation that stores nothing.Interface that allows to check the quota available for an operation.Cache that keeps track of the quota settings for the users and tables that are interacting with it.QuotaCache.Fetcher<Key,Value> Generic quota exceeded exceptionFilter to use to filter the QuotaRetriever results.Internal interface used to interact with the user/table quota.Reads the currently received Region filesystem-space use reports and acts on those which violate a defined quota.A container which encapsulates the tables that have either a table quota or are contained in a namespace which have a namespace quota.Scanner to iterate over the quota settings.Describe the Scope of the quota rules.A common interface for computing and storing space quota observance/violation for entities.In-Memory state of table or namespace quotasHelper class to interact with the quota table.Describe the Quota Type.Helper class to interact with the quota tableSimple rate limiter.Region Server Quota Manager.A manager for filesystem space quotas in the RegionServer.Interface that encapsulates optionally sending a Region's size to the master.An object encapsulating a Region's size and whether it's been reported to the master since the value last changed.A Chore which sends the region size reports on this RegionServer to the Master.An interface for concurrently storing and updating the size of a Region.A factory class for creating implementations ofRegionSizeStore
.ARegionSizeStore
implementation backed by a ConcurrentHashMap.ZK based rpc throttle storage.Describe the throttling result.A Master-invokedChore
that computes the size of each snapshot which was created from a table which has a space quota.An Exception that is thrown when a space quota is in violation.AQuotaSettings
implementation for configuring filesystem-use quotas.AScheduledChore
which periodically updates theRegionServerSpaceQuotaManager
with information from the hbase:quota.A point-in-time view of a space quota on a table.Encapsulates the state of a quota on a table.An interface which abstract away the action taken to enable or disable a space quota violation policy across the HBase cluster.Factory for creatingSpaceQuotaSnapshotNotifier
implementations.A point-in-time view of a space quota on a table, read only.Encapsulates the state of a quota on a table.Enumeration that represents the action HBase will take when a space quota is violated.RegionServer implementation ofSpaceViolationPolicy
.A factory class for instantiatingSpaceViolationPolicyEnforcement
instances.QuotaSnapshotStore
for tables.ASpaceQuotaSnapshotNotifier
which uses the hbase:quota table.Describe the Throttle Type.Deprecated.Simple time based limiter that checks the quota ThrottleIn-Memory state of the user quotas
RpcThrottlingException
since hbase-2.0.0.