Modifier and Type | Class and Description |
---|---|
class |
DoNotRetryIOException
Subclass if exception is not meant to be retried: e.g.
|
class |
InvalidFamilyOperationException
Thrown if a request is table schema modification is requested but
made for an invalid family name.
|
class |
MasterNotRunningException
Thrown if the master is not running
|
class |
NamespaceExistException
Thrown when a namespace exists but should not
|
class |
NamespaceNotFoundException
Thrown when a namespace can not be located
|
class |
NotAllMetaRegionsOnlineException
Thrown when an operation requires the root and all meta regions to be online
|
class |
PleaseHoldException
This exception is thrown by the master when a region server was shut down and
restarted so fast that the master still hasn't processed the server shutdown
of the first instance, or when master is initializing and client call admin
operations, or when an operation is performed on a region server that is still starting.
|
class |
RegionException
Thrown when something happens related to region handling.
|
class |
ReplicationPeerNotFoundException
Thrown when a replication peer can not be found
|
class |
ServiceNotRunningException |
class |
TableExistsException
Thrown when a table exists but should not
|
class |
TableInfoMissingException
Failed to find .tableinfo file under table dir
|
class |
TableNotDisabledException
Thrown if a table should be offline but is not
|
class |
TableNotEnabledException
Thrown if a table should be enabled but is not
|
class |
TableNotFoundException
Thrown when a table can not be located
|
class |
UnknownRegionException
Thrown when we are asked to operate on a region we know nothing about.
|
class |
UnknownScannerException
Thrown if a region server is passed an unknown scanner id.
|
Modifier and Type | Class and Description |
---|---|
class |
DoNotRetryRegionException
Similar to RegionException, but disables retries.
|
class |
NoServerForRegionException
Thrown when no region server can be found for a region
|
class |
RegionOfflineException
Thrown when a table can not be located
|
class |
RowTooBigException
Gets or Scans throw this exception if running without in-row scan flag
set and row size appears to exceed max configured size (configurable via
hbase.table.max.rowsize).
|
class |
WrongRowIOException |
Modifier and Type | Class and Description |
---|---|
class |
CodecException
Thrown when problems in the codec whether setup or context.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstraintException
Exception that a user defined constraint throws on failure of a
Put . |
Modifier and Type | Class and Description |
---|---|
class |
CoprocessorException
Thrown if a coprocessor encounters any exception.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionClosedException
Thrown when the connection is closed
|
class |
FailedSanityCheckException
Exception thrown if a mutation fails sanity checks.
|
class |
MergeRegionException
Thrown when something is wrong in trying to merge two regions.
|
class |
OutOfOrderScannerNextException
Thrown by a RegionServer while doing next() calls on a ResultScanner.
|
class |
RequestTooBigException
Thrown when the size of the rpc request received by the server is too large.
|
class |
ScannerResetException
Thrown when the server side has received an Exception, and asks the Client to reset the scanner
state by closing the current region scanner, and reopening from the start of last seen row.
|
class |
UnexpectedStateException |
class |
UnknownProtocolException
An error requesting an RPC protocol that the server is not serving.
|
Modifier and Type | Method and Description |
---|---|
List<RegionPlan> |
FavoredNodeLoadBalancer.balanceCluster(TableName tableName,
Map<ServerName,List<RegionInfo>> clusterState) |
void |
FavoredNodeLoadBalancer.initialize() |
void |
FavoredNodesManager.initialize(SnapshotOfRegionAssignmentFromMeta snapshotOfRegionAssignment) |
ServerName |
FavoredNodeLoadBalancer.randomAssignment(RegionInfo regionInfo,
List<ServerName> servers) |
Map<ServerName,List<RegionInfo>> |
FavoredNodeLoadBalancer.roundRobinAssignment(List<RegionInfo> regions,
List<ServerName> servers) |
Modifier and Type | Class and Description |
---|---|
class |
CorruptHFileException
This exception is thrown when attempts to read an HFile fail due to corruption or truncation
issues.
|
Modifier and Type | Class and Description |
---|---|
class |
BadAuthException |
class |
CallCancelledException
Client side call cancelled.
|
class |
CallTimeoutException
Client-side call timeout
|
class |
CellScannerButNoCodecException
Thrown if a cellscanner but no codec to encode it with.
|
class |
EmptyServiceNameException |
class |
FailedServerException
Indicates that we're trying to connect to a already known as dead server.
|
class |
FallbackDisallowedException
Indicate that the rpc server tells client to fallback to simple auth but client is disabled to do
so.
|
class |
FatalConnectionException
Thrown when server finds fatal issue w/ connection setup: e.g.
|
class |
ServerTooBusyException
Throw this in RPC call if there are too many pending requests for one region server
|
class |
StoppedRpcClientException |
class |
UnknownServiceException |
class |
UnsupportedCellCodecException |
class |
UnsupportedCompressionCodecException |
class |
UnsupportedCryptoException |
class |
WrongVersionException |
Modifier and Type | Class and Description |
---|---|
class |
ClusterSchemaException |
static class |
HMaster.MasterStoppedException |
class |
NoSuchProcedureException |
static class |
TableStateManager.TableStateNotFoundException |
Modifier and Type | Method and Description |
---|---|
List<RegionPlan> |
LoadBalancer.balanceCluster(Map<ServerName,List<RegionInfo>> clusterState)
Perform the major balance operation
|
List<RegionPlan> |
LoadBalancer.balanceCluster(TableName tableName,
Map<ServerName,List<RegionInfo>> clusterState)
Perform the major balance operation
|
void |
HMaster.decommissionRegionServers(List<ServerName> servers,
boolean offload)
Mark region server(s) as decommissioned (previously called 'draining') to prevent additional
regions from getting assigned to them.
|
void |
LoadBalancer.initialize()
Initialize the load balancer.
|
void |
HMaster.move(byte[] encodedRegionName,
byte[] destServerName) |
ServerName |
LoadBalancer.randomAssignment(RegionInfo regionInfo,
List<ServerName> servers)
Get a random region server from the list
|
void |
HMaster.recommissionRegionServer(ServerName server,
List<byte[]> encodedRegionNames)
Remove decommission marker (previously called 'draining') from a region server to allow regions
assignments.
|
Map<ServerName,List<RegionInfo>> |
LoadBalancer.retainAssignment(Map<RegionInfo,ServerName> regions,
List<ServerName> servers)
Assign regions to the previously hosting region server
|
Map<ServerName,List<RegionInfo>> |
LoadBalancer.roundRobinAssignment(List<RegionInfo> regions,
List<ServerName> servers)
Perform a Round Robin assignment of regions.
|
Modifier and Type | Method and Description |
---|---|
Future<byte[]> |
AssignmentManager.moveAsync(RegionPlan regionPlan) |
Constructor and Description |
---|
MoveRegionProcedure(MasterProcedureEnv env,
RegionPlan plan,
boolean check) |
Modifier and Type | Method and Description |
---|---|
List<RegionPlan> |
SimpleLoadBalancer.balanceCluster(TableName tableName,
Map<ServerName,List<RegionInfo>> clusterState) |
void |
BaseLoadBalancer.initialize() |
void |
FavoredStochasticBalancer.initialize() |
ServerName |
BaseLoadBalancer.randomAssignment(RegionInfo regionInfo,
List<ServerName> servers)
Used to assign a single region to a random server.
|
ServerName |
FavoredStochasticBalancer.randomAssignment(RegionInfo regionInfo,
List<ServerName> servers) |
Map<ServerName,List<RegionInfo>> |
BaseLoadBalancer.retainAssignment(Map<RegionInfo,ServerName> regions,
List<ServerName> servers)
Generates a bulk assignment startup plan, attempting to reuse the existing
assignment information from META, but adjusting for the specified list of
available/online servers available for assignment.
|
Map<ServerName,List<RegionInfo>> |
FavoredStochasticBalancer.retainAssignment(Map<RegionInfo,ServerName> regions,
List<ServerName> servers) |
Map<ServerName,List<RegionInfo>> |
BaseLoadBalancer.roundRobinAssignment(List<RegionInfo> regions,
List<ServerName> servers)
Generates a bulk assignment plan to be used on cluster startup using a
simple round-robin assignment.
|
Map<ServerName,List<RegionInfo>> |
FavoredStochasticBalancer.roundRobinAssignment(List<RegionInfo> regions,
List<ServerName> servers) |
Modifier and Type | Method and Description |
---|---|
List<NormalizationPlan> |
SimpleRegionNormalizer.computePlanForTable(TableName table)
Computes next most "urgent" normalization action on the table.
|
List<NormalizationPlan> |
RegionNormalizer.computePlanForTable(TableName table)
Computes next optimal normalization plan.
|
Modifier and Type | Class and Description |
---|---|
class |
ServerCrashException
Passed as Exception by
ServerCrashProcedure
notifying on-going RIT that server has failed. |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractStateMachineTableProcedure.preflightChecks(MasterProcedureEnv env,
Boolean enabled)
Check that cluster is up and master is running.
|
Modifier and Type | Class and Description |
---|---|
class |
BadProcedureException |
class |
FailedRemoteDispatchException
Used internally signaling failed queue of a remote procedure
operation.
|
class |
NoNodeDispatchException
Used internally signaling failed queue of a remote procedure operation.
|
class |
NoServerDispatchException
Used internally signaling failed queue of a remote procedure operation.
|
class |
NullTargetServerDispatchException
Used internally signaling failed queue of a remote procedure operation.
|
Modifier and Type | Class and Description |
---|---|
class |
CorruptedWALProcedureStoreException
Thrown when a procedure WAL is corrupted
|
Modifier and Type | Class and Description |
---|---|
class |
QuotaExceededException
Generic quota exceeded exception
|
class |
RpcThrottlingException
Describe the throttling result.
|
class |
SpaceLimitingException
An Exception that is thrown when a space quota is in violation.
|
class |
ThrottlingException
Deprecated.
replaced by
RpcThrottlingException since hbase-2.0.0. |
Modifier and Type | Class and Description |
---|---|
class |
LeaseException
Reports a problem with a lease
|
class |
NoSuchColumnFamilyException
Thrown if request for nonexistent column family.
|
Modifier and Type | Class and Description |
---|---|
class |
DamagedWALException
Thrown when a failed append or sync on a WAL.
|
Modifier and Type | Method and Description |
---|---|
List<RegionPlan> |
RSGroupBasedLoadBalancer.balanceCluster(Map<ServerName,List<RegionInfo>> clusterState) |
List<RegionPlan> |
RSGroupBasedLoadBalancer.balanceCluster(TableName tableName,
Map<ServerName,List<RegionInfo>> clusterState) |
void |
RSGroupBasedLoadBalancer.initialize() |
ServerName |
RSGroupBasedLoadBalancer.randomAssignment(RegionInfo region,
List<ServerName> servers) |
Map<ServerName,List<RegionInfo>> |
RSGroupBasedLoadBalancer.retainAssignment(Map<RegionInfo,ServerName> regions,
List<ServerName> servers) |
Map<ServerName,List<RegionInfo>> |
RSGroupBasedLoadBalancer.roundRobinAssignment(List<RegionInfo> regions,
List<ServerName> servers) |
Modifier and Type | Class and Description |
---|---|
class |
AccessDeniedException
Exception thrown by access-related methods.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidLabelException |
class |
LabelAlreadyExistsException |
Modifier and Type | Class and Description |
---|---|
class |
CorruptedSnapshotException
Exception thrown when the found snapshot info from the filesystem is not valid
|
class |
ExportSnapshotException
Thrown when a snapshot could not be exported due to an error during the operation.
|
class |
HBaseSnapshotException
General exception base class for when a snapshot fails
|
class |
RestoreSnapshotException
Thrown when a snapshot could not be restored due to a server-side error when restoring it.
|
class |
SnapshotCreationException
Thrown when a snapshot could not be created due to a server-side error when
taking the snapshot.
|
class |
SnapshotDoesNotExistException
Thrown when the server is looking for a snapshot but can't find the snapshot on the filesystem
|
class |
SnapshotExistsException
Thrown when a snapshot exists but should not
|
class |
UnknownSnapshotException
Exception thrown when we get a request for a snapshot we don't recognize.
|
Modifier and Type | Class and Description |
---|---|
class |
LeaseNotRecoveredException
Thrown when the lease was expected to be recovered,
but the file can't be opened.
|
Copyright © 2007–2019 Cloudera. All rights reserved.