Package org.apache.hadoop.hbase.master
package org.apache.hadoop.hbase.master
-
ClassDescriptionHandles everything on master-side related to master election.Helper class that is used by
RegionPlacementMaintainer
to print information for favored nodesStore a boolean state.Caches the cluster ID of the cluster.View and edit the current cluster schema.Mixes in ClusterSchema and ServiceClass to publish the cluster status to the client.ClusterStatusPublisher.MulticastPublisher.HBaseDatagramChannelFactory<T extends org.apache.hbase.thirdparty.io.netty.channel.Channel>Class to hold dead servers list and utility querying dead server list.Tracks the list of draining region servers via ZK.HMaster is the "master server" for HBase.Implement to return TableDescriptor after pre-checksMakes decisions about the placement and movement of Regions across RegionServers.Priority function specifically for the master.Provides the coprocessor framework and environment for master oriented operations.Coprocessor environment extension providing access to master related services.Special version of MasterEnvironment that exposes MasterServices for Core Coprocessors only.This class abstracts a bunch of operations the HMaster needs to interact with the underlying file system like creating the initial layout, checking file system status, etc.Protection against zombie master.MasterRegion
basedRegionServerList
.Implements the master RPC services.A curated subset of services provided byHMaster
.A state storage which stores the state in master local region.This class abstracts a bunch of operations the HMaster needs when splitting log files e.g.This class is for maintaining the various master statistics and publishing them through the metrics interfaces.Interface that classes that expose metrics about the master will implement.Interface of a factory to create MetricsMasterSource when given a MetricsMasterWrapperFactory to create MetricsMasterProcSource when given a MetricsMasterWrapperHadoop2 implementation of MetricsMasterSource.A collection of exposed metrics for space quotas from the HBase Master.Interface of a factory to create MetricsMasterQuotaSource when given a MetricsMasterWrapper.Factory to create MetricsMasterQuotaSource instances when given a MetricsMasterWrapper.Implementation ofMetricsMasterQuotaSource
which writes the values passed in via the interface to the metrics backend.Interface that classes that expose metrics about the master will implement.Interface of a factory to create MetricsMasterSource when given a MetricsMasterWrapperFactory to create MetricsMasterSource when given a MetricsMasterWrapperHadoop2 implementation of MetricsMasterSource.This is the interface that will expose information to hadoop1/hadoop2 implementations of the MetricsMasterSource.Impl for exposing HMaster Information through JMXDeprecated.Since 2.0.0.This chore is used to update the 'oldWALsDirSize' variable inMasterWalManager
through theMasterWalManager.updateOldWALsDirSize()
method.Wrapper over the rack resolution utility in Hadoop.A tool that is used for manipulating and viewing favored nodes information for regions.Some algorithms for solving the assignment problem may traverse workers or jobs in linear order which may result in skewing the assignments of the first jobs in the matrix toward the last workers in the matrix if the costs are uniform.Stores the plan for the move of an individual region.For storing the region server list.Tracks the online region servers via ZK.This chore, every time it runs, will try to recover regions with high store ref count by reopening themConfig manager for RegionsRecovery Chore - Dynamically reload config and update chore accordinglyState of a Region while undergoing transitions.Get notification of server registration events.The ServerManager class manages info about region servers.Used internally for reading meta and constructing datastructures that are then queried, for things like regions to regionservers, table to regions, etc.Watch the current snapshot under processDeprecated.since 2.4.0 and in 3.0.0, to be removed in 4.0.0, replaced by procedure-based distributed WAL splitter, see SplitWALManager.in memory state of an active task.Keeps track of the batch of tasks submitted together by a caller in splitLogDistributed().Tracks the switch of split and merge states.CreateSplitWALProcedure
for each WAL which need to split.This is a helper class used internally to manage the namespace metadata that is stored in TableName.NAMESPACE_TABLE_NAME.This is a helper class used to manage table states.help assign and release a worker for each remote task.