Package org.apache.hadoop.hbase.master
Class TestGetReplicationLoad.MyMaster
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.regionserver.HRegionServer
org.apache.hadoop.hbase.master.HMaster
org.apache.hadoop.hbase.master.TestGetReplicationLoad.MyMaster
- All Implemented Interfaces:
Runnable
,org.apache.hadoop.hbase.Abortable
,org.apache.hadoop.hbase.conf.ConfigurationObserver
,org.apache.hadoop.hbase.master.MasterServices
,org.apache.hadoop.hbase.regionserver.FavoredNodesForRegion
,org.apache.hadoop.hbase.regionserver.LastSequenceId
,org.apache.hadoop.hbase.regionserver.MutableOnlineRegions
,org.apache.hadoop.hbase.regionserver.OnlineRegions
,org.apache.hadoop.hbase.regionserver.RegionServerServices
,org.apache.hadoop.hbase.Server
,org.apache.hadoop.hbase.Stoppable
- Enclosing class:
- TestGetReplicationLoad
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.HMaster
org.apache.hadoop.hbase.master.HMaster.TableDescriptorGetter
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.regionserver.RegionServerServices
org.apache.hadoop.hbase.regionserver.RegionServerServices.PostOpenDeployContext, org.apache.hadoop.hbase.regionserver.RegionServerServices.RegionStateTransitionContext
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.master.HMaster
catalogJanitorChore, coprocessorServiceHandlers, cpHost, DEFAULT_HBASE_MASTER_CLEANER_INTERVAL, DEFAULT_HBASE_MASTER_WAIT_ON_SERVICE_IN_SECONDS, HBASE_MASTER_CLEANER_INTERVAL, HBASE_MASTER_WAIT_ON_SERVICE_IN_SECONDS, loadBalancerStateStore, MAINTENANCE_MODE, MASTER, masterAddressSyncer, metricsMaster, rsFatals, serviceStarted, snapshotCleanupStateStore, snapshotManager, WARMUP_BEFORE_MOVE
Fields inherited from class org.apache.hadoop.hbase.regionserver.HRegionServer
clusterConnection, clusterId, clusterStatusTracker, conf, configurationManager, executorService, infoServer, REGIONSERVER, rpcServices, serverName, sleeper, startcode, tableDescriptors, TEST_SKIP_REPORTING_TRANSITION, useThisHostnameInstead, zooKeeper
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
tryRegionServerReport
(long reportStartTime, long reportEndTime) Methods inherited from class org.apache.hadoop.hbase.master.HMaster
abort, abortProcedure, addColumn, addReplicationPeer, balance, balance, balanceOrUpdateMetrics, balanceSwitch, cacheTableDescriptor, canCreateBaseZNode, canUpdateTableDescriptor, checkIfShouldMoveSystemRegionAsync, checkInitialized, checkServiceStarted, checkTableModifiable, configureInfoServer, constructMaster, createActiveMasterManager, createAssignmentManager, createNamespace, createRpcServices, createServerManager, createSystemTable, createTable, decommissionRegionServers, decorateMasterConfiguration, deleteColumn, deleteNamespace, deleteTable, disableReplicationPeer, disableTable, enableReplicationPeer, enableTable, executeRegionPlansWithThrottling, flushMasterStore, flushTable, getActiveMaster, getActiveMasterInfoPort, getAssignmentManager, getAverageLoad, getBackupMasterInfoPort, getBackupMasters, getBootstrapNodes, getCatalogJanitor, getClientIdAuditPrefix, getClusterId, getClusterMetrics, getClusterMetrics, getClusterMetricsWithoutCoprocessor, getClusterMetricsWithoutCoprocessor, getClusterSchema, getCompactionState, getDumpServlet, getFavoredNodesManager, getHbckChore, getHFileCleaner, getHFileCleaners, getInitializedEvent, getLastMajorCompactionTimestamp, getLastMajorCompactionTimestampForRegion, getLiveRegionServers, getLoadBalancer, getLoadBalancerClassName, getLoadedCoprocessors, getLockManager, getLocks, getLogCleaner, getMasterActiveTime, getMasterCoprocessorHost, getMasterCoprocessors, getMasterFileSystem, getMasterFinishedInitializationTime, getMasterMetrics, getMasterProcedureExecutor, getMasterProcedureManagerHost, getMasterQuotaManager, getMasterRegion, getMasterRpcServices, getMasterStartTime, getMasterWalManager, getMetaLocationSyncer, getMobCompactionState, getNamespace, getNamespaces, getNumWALFiles, getProcedures, getProcedureStore, getProcessName, getQuotaObserverChore, getRegionNormalizerManager, getRegionServerFatalLogBuffer, getRegionServerInfoPort, getRegionServerVersion, getRemoteInetAddress, getReplicationLoad, getReplicationPeerConfig, getReplicationPeerManager, getServerManager, getServerName, getSnapshotManager, getSnapshotQuotaObserverChore, getSpaceQuotaSnapshotNotifier, getSplitOrMergeStateStore, getSplitWALManager, getStartupProgress, getTableStateManager, getUseThisHostnameInstead, getWalGroupsReplicationStatus, getZooKeeper, initClusterSchemaService, isActiveMaster, isBalancerOn, isCatalogJanitorEnabled, isCleanerChoreEnabled, isInitialized, isInMaintenanceMode, isNormalizerOn, isOnline, isReplicationPeerModificationEnabled, isSplitOrMergeEnabled, listDecommissionedRegionServers, listNamespaces, listReplicationPeers, listTableDescriptors, listTableDescriptorsByNamespace, listTableNames, listTableNamesByNamespace, login, main, mergeRegions, modifyColumn, modifyColumnStoreFileTracker, modifyNamespace, modifyTable, modifyTableStoreFileTracker, move, normalizeRegions, onConfigurationChange, postUpdateConfiguration, preUpdateConfiguration, recommissionRegionServer, registerService, remoteProcedureCompleted, remoteProcedureFailed, removeReplicationPeer, reopenRegions, replicationPeerModificationSwitch, reportMobCompactionEnd, reportMobCompactionStart, restoreSnapshot, run, runReplicationBarrierCleaner, setAssignmentManager, setCatalogJanitorChoreForTesting, setCatalogJanitorEnabled, setDisableBalancerChoreForTest, setHbckChoreForTesting, setInitialized, setLoadBalancer, setServiceStarted, shutdown, skipRegionManagementAction, splitRegion, startProcedureExecutor, stop, stopMaster, stopServiceThreads, switchSnapshotCleanup, truncateRegion, truncateTable, updateConfigurationForQuotasObserver, updateReplicationPeerConfig, waitForMasterActive, waitForMetaOnline, waitForNamespaceOnline
Methods inherited from class org.apache.hadoop.hbase.regionserver.HRegionServer
addRegion, closeRegion, createClusterConnection, createConnection, createRegionLoad, createRegionServerStatusStub, dumpRowLocks, finishRegionProcedure, getAccessChecker, getBlockCache, getBrokenStoreFileCleaner, getChoreService, getClusterConnection, getCompactedHFilesDischarger, getCompactionPressure, getCompactionRequestor, getCompactSplitThread, getConfiguration, getConfigurationManager, getConnection, getCoordinatedStateManager, getDataRootDir, getEventLoopGroupConfig, getExecutorService, getFavoredNodesForRegion, getFileSystem, getFlushPressure, getFlushRequester, getFlushThroughputController, getHeapMemoryManager, getInfoServer, getLastSequenceId, getLeaseManager, getMasterAddressTracker, getMemStoreFlusher, getMetaRegionLocationCache, getMetrics, getMobFileCache, getMovedRegion, getNamedQueueRecorder, getNonceManager, getNumberOfOnlineRegions, getOnlineRegion, getOnlineRegions, getOnlineRegionsLocalContext, getOnlineTables, getRegion, getRegion, getRegionByEncodedName, getRegions, getRegions, getRegionServerAccounting, getRegionServerCoprocessorHost, getRegionServerCoprocessors, getRegionServerRpcQuotaManager, getRegionServerSpaceQuotaManager, getRegionsInTransitionInRS, getReplicationSourceService, getRetryPauseTime, getRpcServer, getRSMobFileCleanerChore, getRSRpcServices, getSecureBulkLoadManager, getStartcode, getTableDescriptors, getWAL, getWALFileSystem, getWalRoller, getWALRootDir, getWALs, getZKPermissionWatcher, handleReportForDutyResponse, initializeMemStoreChunkCreator, isAborted, isClusterUp, isShutDown, isShutdownHookInstalled, isStopped, isStopping, kill, movedRegionCacheExpiredTime, postOpenDeployTasks, regionLock, remoteProcedureComplete, removeRegion, reportFileArchivalForQuotas, reportRegionSizesForQuotas, reportRegionStateTransition, setAbortRequested, setupClusterConnection, shutdownChore, stop, toString, unassign, updateRegionFavoredNodesMapping, waitForServerOnline, walRollRequestFinished
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.Abortable
abort, isAborted
Methods inherited from interface org.apache.hadoop.hbase.master.MasterServices
getAccessChecker, getExecutorService, getTableDescriptors, getZKPermissionWatcher, isClusterUp, modifyTable
Methods inherited from interface org.apache.hadoop.hbase.Server
createConnection, getChoreService, getClusterConnection, getConfiguration, getConnection, getCoordinatedStateManager, getFileSystem, isStopping
Methods inherited from interface org.apache.hadoop.hbase.Stoppable
isStopped
-
Constructor Details
-
MyMaster
public MyMaster(org.apache.hadoop.conf.Configuration conf) throws IOException, org.apache.zookeeper.KeeperException, InterruptedException - Throws:
IOException
org.apache.zookeeper.KeeperException
InterruptedException
-
-
Method Details
-
tryRegionServerReport
- Overrides:
tryRegionServerReport
in classorg.apache.hadoop.hbase.regionserver.HRegionServer
-