public static class TestMasterMetrics.MyMaster extends HMaster
HMaster.RedirectServlet
HRegionServer.MovedRegionsCleaner
RegionServerServices.PostOpenDeployContext, RegionServerServices.RegionStateTransitionContext
cacheConfig, cacheFlusher, CLOSE, clusterConnection, clusterStatusTracker, compactSplitThread, conf, configurationManager, csm, fs, fsOk, hMemManager, infoServer, leases, lock, metaTableLocator, movedRegions, msgInterval, numRegionsToReport, onlineRegions, OPEN, recoveringRegions, regionFavoredNodesMap, REGIONSERVER, regionsInTransitionInRS, replicationSinkHandler, replicationSourceHandler, rpcServices, serverName, service, sleeper, startcode, tableDescriptors, tableLockManager, threadWakeFrequency, walFactory, zooKeeper
Constructor and Description |
---|
MyMaster(Configuration conf,
CoordinatedStateManager cp) |
Modifier and Type | Method and Description |
---|---|
protected void |
tryRegionServerReport(long reportStartTime,
long reportEndTime) |
abort, abortProcedure, addColumn, assignRegion, balance, balance, balanceSwitch, canCreateBaseZNode, canUpdateTableDescriptor, checkTableModifiable, configureInfoServer, constructMaster, createNamespace, createRpcServices, createTable, deleteColumn, deleteNamespace, deleteTable, disableTable, dispatchMergingRegions, doMetrics, enableTable, getAssignmentManager, getAverageLoad, getClusterStatus, getDumpServlet, getHFileCleaner, getLastMajorCompactionTimestamp, getLastMajorCompactionTimestampForRegion, getLoadBalancerClassName, getLoadedCoprocessors, getMasterActiveTime, getMasterCoprocessorHost, getMasterCoprocessors, getMasterFileSystem, getMasterProcedureExecutor, getMasterQuotaManager, getMasterRpcServices, getMasterStartTime, getNamespaceDescriptor, getProcessName, getRegionNormalizerTracker, getRegionServerFatalLogBuffer, getRegionServerInfoPort, getServerManager, getServerName, getSnapshotManagerForTesting, getTableDescriptors, getZooKeeper, isActiveMaster, isBalancerOn, isInitializationStartsMetaRegionAssignment, isInitialized, isMasterProcedureExecutorEnabled, isNormalizerOn, isServerShutdownHandlerEnabled, listNamespaceDescriptors, listProcedures, listTableDescriptors, listTableDescriptorsByNamespace, listTableNames, listTableNamesByNamespace, login, main, modifyColumn, modifyNamespace, modifyTable, normalizeRegions, registerService, sendShutdownInterrupt, setCatalogJanitorEnabled, shutdown, stopMaster, stopServiceThreads, truncateTable, waitForMasterActive
abort, addToMovedRegions, addToOnlineRegions, checkFileSystem, cleanMovedRegions, closeAllRegions, closeRegion, constructRegionServer, convertThrowableToIOE, createClusterConnection, createRegionLoad, createRegionServerStatusStub, ensureMetaWALRoller, execRegionServerService, getCacheConfig, getChoreService, getClusterId, getCompactionPressure, getCompactionRequester, getCompactSplitThread, getConfiguration, getConfigurationManager, getConnection, getCoordinatedStateManager, getExecutorService, getFavoredNodesForRegion, getFileSystem, getFlushRequester, getFromOnlineRegions, getHeapMemoryManager, getInfoServer, getLastSequenceId, getLeases, getMasterAddressTracker, getMetaTableLocator, getMostLoadedRegions, getNonceManager, getNumberOfOnlineRegions, getOnlineRegion, getOnlineRegions, getOnlineRegionsLocalContext, getOnlineTables, getRecoveringRegions, getRegion, getRegionBlockLocations, getRegionByEncodedName, getRegionByEncodedName, getRegionServerAccounting, getRegionServerCoprocessorHost, getRegionServerCoprocessors, getRegionServerMetrics, getRegionServerQuotaManager, getRegionsInTransitionInRS, getRootDir, getRpcServer, getRSRpcServices, getStartcode, getTableLockManager, getThreadWakeFrequency, getWAL, handleReportForDutyResponse, isAborted, isOnline, isStopped, isStopping, kill, movedRegionCleanerPeriod, postOpenDeployTasks, postOpenDeployTasks, removeFromOnlineRegions, reportRegionStateTransition, reportRegionStateTransition, reportRegionStateTransition, run, setupClusterConnection, shouldUseThisHostnameInstead, stop, toString, updateConfiguration, updateRegionFavoredNodesMapping, waitForServerOnline
getName, getThread, interrupt, isAlive, isInterrupted, join, join, join, setDaemon, setName, setPriority, setUncaughtExceptionHandler, start
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExecutorService, getTableLockManager
getChoreService, getConfiguration, getConnection, getCoordinatedStateManager, getMetaTableLocator
public MyMaster(Configuration conf, CoordinatedStateManager cp) throws IOException, KeeperException, InterruptedException
IOException
KeeperException
InterruptedException
protected void tryRegionServerReport(long reportStartTime, long reportEndTime)
tryRegionServerReport
in class HRegionServer