Class TestRSGroupsKillRSWithDifferentVersions.HMasterForTest

java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.HBaseServerBase<org.apache.hadoop.hbase.master.MasterRpcServices>
org.apache.hadoop.hbase.master.HMaster
org.apache.hadoop.hbase.rsgroup.TestRSGroupsKillRSWithDifferentVersions.HMasterForTest
All Implemented Interfaces:
Runnable, org.apache.hadoop.hbase.Abortable, org.apache.hadoop.hbase.client.ConnectionRegistryEndpoint, org.apache.hadoop.hbase.conf.ConfigurationObserver, org.apache.hadoop.hbase.keymeta.KeyManagementService, org.apache.hadoop.hbase.master.MasterServices, org.apache.hadoop.hbase.Server, org.apache.hadoop.hbase.Stoppable
Enclosing class:
TestRSGroupsKillRSWithDifferentVersions

public static final class TestRSGroupsKillRSWithDifferentVersions.HMasterForTest extends org.apache.hadoop.hbase.master.HMaster
  • 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.apache.hadoop.hbase.net.Address
     

    Fields inherited from class org.apache.hadoop.hbase.master.HMaster

    DEFAULT_HBASE_MASTER_CLEANER_INTERVAL, DEFAULT_HBASE_MASTER_WAIT_ON_SERVICE_IN_SECONDS, HBASE_MASTER_CLEANER_INTERVAL, HBASE_MASTER_RSPROC_DISPATCHER_CLASS, HBASE_MASTER_WAIT_ON_SERVICE_IN_SECONDS, MASTER, WARMUP_BEFORE_MOVE

    Fields inherited from class org.apache.hadoop.hbase.HBaseServerBase

    abortRequested, asyncClusterConnection, choreService, clusterStatusTracker, conf, configurationManager, csm, dataFs, dataRootDir, eventLoopGroupConfig, executorService, infoServer, metaRegionLocationCache, msgInterval, namedQueueRecorder, readOnlyTransitionBlocked, rpcServices, serverName, sleeper, startcode, stopped, tableDescriptors, userProvider, useThisHostnameInstead, walFs, walRootDir, zooKeeper

    Fields inherited from class java.lang.Thread

    MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY

    Fields inherited from interface org.apache.hadoop.hbase.keymeta.KeyManagementService

    NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
    HMasterForTest(org.apache.hadoop.conf.Configuration conf)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getRegionServerVersion(org.apache.hadoop.hbase.ServerName serverName)
     
    (package private) void
    setServerWithLowerVersion(org.apache.hadoop.hbase.net.Address server)
     

    Methods inherited from class org.apache.hadoop.hbase.master.HMaster

    abort, abortProcedure, addColumn, addReplicationPeer, balance, balance, balanceOrUpdateMetrics, balanceSwitch, cacheTableDescriptor, canCreateBaseZNode, canUpdateTableDescriptor, checkIfShouldMoveSystemRegionAsync, checkServiceStarted, checkTableModifiable, clusterMode, configureInfoServer, constructMaster, createActiveMasterManager, createAssignmentManager, createNamedQueueRecord, createRpcServices, createServerManager, createSystemTable, createTable, decommissionRegionServers, decorateMasterConfiguration, deleteColumn, deleteTable, disableReplicationPeer, disableTable, enableReplicationPeer, enableTable, executeRegionPlansWithThrottling, flushMasterStore, flushTable, getActiveMaster, getActiveMasterInfoPort, getActiveMasterManager, getAssignmentManager, getAverageLoad, getBackupMasterInfoPort, getBackupMasters, getBootstrapNodes, getCatalogJanitor, getClientIdAuditPrefix, getClusterId, getClusterMetrics, getClusterMetrics, getClusterMetricsWithoutCoprocessor, getClusterMetricsWithoutCoprocessor, getClusterSchema, getCompactionState, getCoprocessorHost, getDNSServerType, 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, getMetaLocations, getMetaLocationSyncer, getMobCompactionState, getMobFileCleanerChore, getNumWALFiles, getProcedures, getProcedureStore, getProcessName, getQuotaObserverChore, getRegionNormalizerManager, getRegionServerFatalLogBuffer, getRegionServerInfoPort, getReplicationLoad, getReplicationLogCleanerBarrier, getReplicationPeerConfig, getReplicationPeerManager, getRpcThrottleStateStore, getRSGroupInfoManager, getServerManager, getServerName, getSnapshotManager, getSnapshotQuotaObserverChore, getSpaceQuotaSnapshotNotifier, getSplitOrMergeStateStore, getSplitWALManager, getStartupProgress, getSyncReplicationPeerLock, getSyncReplicationReplayWALManager, getTableStateManager, getUseThisHostnameInstead, initClusterSchemaService, isActiveMaster, isBalancerOn, isCatalogJanitorEnabled, isInitialized, isInMaintenanceMode, isNormalizerOn, isOnline, isReplicationPeerModificationEnabled, isSplitOrMergeEnabled, listDecommissionedRegionServers, listNamespaces, listReplicationPeers, listTableDescriptors, listTableDescriptorsByNamespace, listTableNames, listTableNamesByNamespace, login, main, mergeRegions, modifyColumn, modifyColumnStoreFileTracker, modifyTable, modifyTableStoreFileTracker, move, normalizeRegions, onConfigurationChange, recommissionRegionServer, refreshHfiles, refreshHfiles, refreshHfiles, refreshMeta, registerService, reloadRegionServerQuotas, remoteProcedureCompleted, remoteProcedureFailed, removeReplicationPeer, replicationPeerModificationSwitch, reportMobCompactionEnd, reportMobCompactionStart, restoreSnapshot, rollAllWALWriters, rotateSystemKeyIfChanged, run, runReplicationBarrierCleaner, setCatalogJanitorChoreForTesting, setCatalogJanitorEnabled, setHbckChoreForTesting, setInitialized, setServiceStarted, shutdown, skipRegionManagementAction, splitRegion, startProcedureExecutor, stop, stopChores, stopMaster, stopServiceThreads, transitReplicationPeerSyncReplicationState, truncateRegion, truncateTable, updateConfigurationForQuotasObserver, updateReplicationPeerConfig, waitForMetaOnline

    Methods inherited from class org.apache.hadoop.hbase.HBaseServerBase

    blockReadOnlyTransition, checkForBlockedReadOnlyTransition, closeClusterConnection, closeTableDescriptors, closeZooKeeper, createConnection, getAccessChecker, getAsyncClusterConnection, getChoreService, getConfiguration, getConfigurationManager, getCoordinatedStateManager, getDataRootDir, getEventLoopGroupConfig, getExecutorService, getFileSystem, getInfoServer, getKeyManagementService, getKeymetaAdmin, getManagedKeyDataCache, getMetaRegionLocationCache, getMsgInterval, getNamedQueueRecorder, getRpcServer, getRpcServices, getStartcode, getSystemKeyCache, getTableDescriptors, getWALFileSystem, getWALRootDir, getZKPermissionWatcher, getZooKeeper, initializeFileSystem, initializeMemStoreChunkCreator, installShutdownHook, isAborted, isClusterUp, isShutdownHookInstalled, isStopped, setAbortRequested, setupClusterConnection, shutdownChore, stopChoreService, stopExecutorService, stopInfoServer, toString, updateConfiguration

    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.keymeta.KeyManagementService

    getKeymetaAdmin, getManagedKeyDataCache, getSystemKeyCache

    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, getAsyncClusterConnection, getAsyncConnection, getChoreService, getConfiguration, getConnection, getCoordinatedStateManager, getFileSystem, getKeyManagementService, getZooKeeper, isStopping

    Methods inherited from interface org.apache.hadoop.hbase.Stoppable

    isStopped
  • Field Details

  • Constructor Details

  • Method Details

    • setServerWithLowerVersion

      void setServerWithLowerVersion(org.apache.hadoop.hbase.net.Address server)
    • getRegionServerVersion

      public String getRegionServerVersion(org.apache.hadoop.hbase.ServerName serverName)
      Specified by:
      getRegionServerVersion in interface org.apache.hadoop.hbase.master.MasterServices
      Overrides:
      getRegionServerVersion in class org.apache.hadoop.hbase.master.HMaster