Modifier and Type | Method and Description |
---|---|
CoordinatedStateManager |
Server.getCoordinatedStateManager()
Get CoordinatedStateManager instance for this server.
|
static CoordinatedStateManager |
CoordinatedStateManagerFactory.getCoordinatedStateManager(org.apache.hadoop.conf.Configuration conf)
Creates consensus provider from the given configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseCoordinatedStateManager
Base class for
CoordinatedStateManager implementations. |
class |
ZkCoordinatedStateManager
ZooKeeper-based implementation of
CoordinatedStateManager . |
Constructor and Description |
---|
ZkCloseRegionCoordination(CoordinatedStateManager csm,
ZooKeeperWatcher watcher) |
ZkOpenRegionCoordination(CoordinatedStateManager coordination,
ZooKeeperWatcher watcher) |
ZkRegionMergeCoordination(CoordinatedStateManager manager,
ZooKeeperWatcher watcher) |
ZKSplitLogManagerCoordination(CoordinatedStateManager manager,
ZooKeeperWatcher watcher) |
ZKSplitTransactionCoordination(CoordinatedStateManager coordinationProvider,
ZooKeeperWatcher watcher) |
Modifier and Type | Method and Description |
---|---|
static HMaster |
HMaster.constructMaster(Class<? extends HMaster> masterClass,
org.apache.hadoop.conf.Configuration conf,
CoordinatedStateManager cp)
Utility for constructing an instance of the passed HMaster class.
|
Constructor and Description |
---|
HMaster(org.apache.hadoop.conf.Configuration conf,
CoordinatedStateManager csm)
Initializes the HMaster.
|
HMasterCommandLine.LocalHMaster(org.apache.hadoop.conf.Configuration conf,
CoordinatedStateManager csm) |
Modifier and Type | Method and Description |
---|---|
static HRegionServer |
HRegionServer.constructRegionServer(Class<? extends HRegionServer> regionServerClass,
org.apache.hadoop.conf.Configuration conf2,
CoordinatedStateManager cp)
Utility for constructing an instance of the passed HRegionServer class.
|
Constructor and Description |
---|
HRegionServer(org.apache.hadoop.conf.Configuration conf,
CoordinatedStateManager csm)
Starts a HRegionServer at the default location
|
Modifier and Type | Method and Description |
---|---|
static JVMClusterUtil.MasterThread |
JVMClusterUtil.createMasterThread(org.apache.hadoop.conf.Configuration c,
CoordinatedStateManager cp,
Class<? extends HMaster> hmc,
int index)
Creates a
JVMClusterUtil.MasterThread . |
static JVMClusterUtil.RegionServerThread |
JVMClusterUtil.createRegionServerThread(org.apache.hadoop.conf.Configuration c,
CoordinatedStateManager cp,
Class<? extends HRegionServer> hrsc,
int index)
Creates a
JVMClusterUtil.RegionServerThread . |
Modifier and Type | Method and Description |
---|---|
static boolean |
WALSplitter.splitLogFile(org.apache.hadoop.fs.Path walDir,
org.apache.hadoop.fs.FileStatus logfile,
org.apache.hadoop.fs.FileSystem walFS,
org.apache.hadoop.conf.Configuration conf,
CancelableProgressable reporter,
LastSequenceId idChecker,
CoordinatedStateManager cp,
org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.RecoveryMode mode,
WALFactory factory)
Splits a WAL file into region's recovered-edits directory.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.