Uses of Class
org.apache.hadoop.hbase.ServerName

Packages that use org.apache.hadoop.hbase.ServerName
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase

    Fields in org.apache.hadoop.hbase declared as org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Field
    Description
    protected org.apache.hadoop.hbase.ServerName
    HBaseServerBase.serverName
    The server name the Master sees us as.
    Fields in org.apache.hadoop.hbase with type parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Field
    Description
    static final List<org.apache.hadoop.hbase.ServerName>
    ServerName.EMPTY_SERVER_LIST
     
    Methods in org.apache.hadoop.hbase that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    ClusterMetrics.getMasterName()
    Returns detailed information about the current master ServerName.
    org.apache.hadoop.hbase.ServerName
    HBaseCluster.getServerHoldingMeta()
    Deprecated.
    Get the ServerName of region server serving the first hbase:meta region
    abstract org.apache.hadoop.hbase.ServerName
    HBaseCluster.getServerHoldingRegion(org.apache.hadoop.hbase.TableName tn, byte[] regionName)
    Deprecated.
    Get the ServerName of region server serving the specified region
    org.apache.hadoop.hbase.ServerName
    MiniHBaseCluster.getServerHoldingRegion(org.apache.hadoop.hbase.TableName tn, byte[] regionName)
    Deprecated.
     
    static org.apache.hadoop.hbase.ServerName
    CatalogFamilyFormat.getServerName(org.apache.hadoop.hbase.client.Result r, int replicaId)
    Returns a ServerName from catalog table Result.
    org.apache.hadoop.hbase.ServerName
    HBaseServerBase.getServerName()
     
    org.apache.hadoop.hbase.ServerName
    HRegionLocation.getServerName()
     
    org.apache.hadoop.hbase.ServerName
    MockRegionServerServices.getServerName()
     
    org.apache.hadoop.hbase.ServerName
    Server.getServerName()
    Returns The unique server name for this server.
    org.apache.hadoop.hbase.ServerName
    ServerMetrics.getServerName()
     
    org.apache.hadoop.hbase.ServerName
    SplitLogTask.getServerName()
    Deprecated.
     
    static org.apache.hadoop.hbase.ServerName
    MetaTableAccessor.getTargetServerName(org.apache.hadoop.hbase.client.Result r, int replicaId)
    Returns the ServerName from catalog table Result where the region is transitioning on.
    static org.apache.hadoop.hbase.ServerName
    ServerName.parseServerName(String str)
    Parse a ServerName from a string
    static org.apache.hadoop.hbase.ServerName
    ServerName.parseVersionedServerName(byte[] versionedBytes)
    Use this method instantiating a ServerName from bytes gotten from a call to getVersionedBytes().
    static org.apache.hadoop.hbase.ServerName
    ServerName.valueOf(String serverName)
    Retrieve an instance of ServerName.
    static org.apache.hadoop.hbase.ServerName
    ServerName.valueOf(String hostname, int port, long startCode)
    Retrieve an instance of ServerName.
    static org.apache.hadoop.hbase.ServerName
    ServerName.valueOf(String hostAndPort, long startCode)
    Retrieve an instance of ServerName.
    static org.apache.hadoop.hbase.ServerName
    ServerName.valueOf(org.apache.hadoop.hbase.net.Address address, long startCode)
    Retrieve an instance of ServerName.
    Methods in org.apache.hadoop.hbase that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.ServerName>
    ClusterMetrics.getBackupMasterNames()
    Returns the names of backup masters
    List<org.apache.hadoop.hbase.ServerName>
    ClusterMetrics.getDeadServerNames()
    Returns the names of region servers on the dead list
    List<org.apache.hadoop.hbase.ServerName>
    ClusterMetrics.getDecommissionedServerNames()
    Returns the names of region servers on the decommissioned list
    Map<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.ServerMetrics>
    ClusterMetrics.getLiveServerMetrics()
    Returns the names of region servers on the live list
    static org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName>
    MetaTableAccessor.getRegion(org.apache.hadoop.hbase.client.Connection connection, byte[] regionName)
    Deprecated.
    use MetaTableAccessor.getRegionLocation(Connection, byte[]) instead
    List<org.apache.hadoop.hbase.ServerName>
    ClusterMetrics.getServersName()
     
    static List<org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName>>
    MetaTableAccessor.getTableRegionsAndLocations(org.apache.hadoop.hbase.client.Connection connection, org.apache.hadoop.hbase.TableName tableName)
    Do not use this method to get meta table regions, use methods in MetaTableLocator instead.
    static List<org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName>>
    MetaTableAccessor.getTableRegionsAndLocations(org.apache.hadoop.hbase.client.Connection connection, org.apache.hadoop.hbase.TableName tableName, boolean excludeOfflinedSplitParents)
    Do not use this method to get meta table regions, use methods in MetaTableLocator instead.
    List<org.apache.hadoop.hbase.ServerName>
    ClusterMetrics.getUnknownServerNames()
    Returns the names of region servers on the unknown list
    Methods in org.apache.hadoop.hbase with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.client.Put
    MetaTableAccessor.addLocation(org.apache.hadoop.hbase.client.Put p, org.apache.hadoop.hbase.ServerName sn, long openSeqNum, int replicaId)
     
    void
    HBaseTestingUtility.assertRegionOnlyOnServer(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.ServerName server, long timeout)
    Deprecated.
    Check to make sure the region is open on the specified region server, but not on any other one.
    void
    HBaseTestingUtility.assertRegionOnServer(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.ServerName server, long timeout)
    Deprecated.
    Due to async racing issue, a region may not be in the online region list of a region server yet, after the assignment znode is deleted and the new assignment is recorded in master.
    int
    ServerName.compareTo(org.apache.hadoop.hbase.ServerName other)
     
    org.apache.hadoop.hbase.regionserver.RegionServerServices
    HBaseTestingUtility.createMockRegionServerService(org.apache.hadoop.hbase.ServerName name)
    Deprecated.
    Create a stubbed out RegionServerService, mainly for getting FS.
    protected int
    MiniHBaseCluster.getMasterIndex(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    org.apache.hadoop.hbase.regionserver.HRegionServer
    MiniHBaseCluster.getRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    protected int
    MiniHBaseCluster.getRegionServerIndex(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    boolean
    SplitLogTask.isDone(org.apache.hadoop.hbase.ServerName sn)
    Deprecated.
     
    boolean
    SplitLogTask.isErr(org.apache.hadoop.hbase.ServerName sn)
    Deprecated.
     
    abstract boolean
    HBaseCluster.isKilledRS(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Keeping track of killed servers and being able to check if a particular server was killed makes it possible to do fault tolerance testing for dead servers in a deterministic way.
    boolean
    MiniHBaseCluster.isKilledRS(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    boolean
    SplitLogTask.isOwned(org.apache.hadoop.hbase.ServerName sn)
    Deprecated.
     
    boolean
    SplitLogTask.isResigned(org.apache.hadoop.hbase.ServerName sn)
    Deprecated.
     
    static boolean
    ServerName.isSameAddress(org.apache.hadoop.hbase.ServerName left, org.apache.hadoop.hbase.ServerName right)
    Compare two addresses
    boolean
    SplitLogTask.isUnassigned(org.apache.hadoop.hbase.ServerName sn)
    Deprecated.
     
    abstract void
    HBaseCluster.killDataNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Kills the datanode process if this is a distributed cluster, otherwise, this causes master to exit doing basic clean up only.
    void
    MiniHBaseCluster.killDataNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.killMaster(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Kills the master process if this is a distributed cluster, otherwise, this causes master to exit doing basic clean up only.
    void
    MiniHBaseCluster.killMaster(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.killNameNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Kills the namenode process if this is a distributed cluster, otherwise, this causes master to exit doing basic clean up only.
    void
    MiniHBaseCluster.killNameNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.killRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Kills the region server process if this is a distributed cluster, otherwise this causes the region server to exit doing basic clean up only.
    void
    MiniHBaseCluster.killRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.killZkNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Kills the zookeeper node process if this is a distributed cluster, otherwise, this causes master to exit doing basic clean up only.
    void
    MiniHBaseCluster.killZkNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    void
    HBaseTestingUtility.moveRegionAndWait(org.apache.hadoop.hbase.client.RegionInfo destRegion, org.apache.hadoop.hbase.ServerName destServer)
    Deprecated.
    Move region to destination server and wait till region is completely moved and online
    static org.apache.hadoop.hbase.ServerMetricsBuilder
    ServerMetricsBuilder.newBuilder(org.apache.hadoop.hbase.ServerName sn)
     
    static org.apache.hadoop.hbase.ServerMetrics
    ServerMetricsBuilder.of(org.apache.hadoop.hbase.ServerName sn)
     
    static org.apache.hadoop.hbase.ServerMetrics
    ServerMetricsBuilder.of(org.apache.hadoop.hbase.ServerName sn, int versionNumber, String version)
     
    org.apache.hadoop.hbase.RegionLocations
    RegionLocations.removeByServer(org.apache.hadoop.hbase.ServerName serverName)
    Returns a new RegionLocations with the locations removed (set to null) which have the destination server as given.
    boolean
    MockRegionServerServices.removeRegion(org.apache.hadoop.hbase.regionserver.HRegion r, org.apache.hadoop.hbase.ServerName destination)
     
    abstract void
    HBaseCluster.resumeRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Resume the region server
    void
    MiniHBaseCluster.resumeRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    org.apache.hadoop.hbase.ClusterMetricsBuilder
    ClusterMetricsBuilder.setMasterName(org.apache.hadoop.hbase.ServerName value)
     
    abstract void
    HBaseCluster.startDataNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Starts a new datanode on the given hostname or if this is a mini/local cluster, silently logs warning message.
    void
    MiniHBaseCluster.startDataNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.startNameNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Starts a new namenode on the given hostname or if this is a mini/local cluster, silently logs warning message.
    void
    MiniHBaseCluster.startNameNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.stopDataNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Stops the datanode if this is a distributed cluster, otherwise silently logs warning message.
    void
    MiniHBaseCluster.stopDataNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.stopMaster(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Stops the given master, by attempting a gradual stop.
    void
    MiniHBaseCluster.stopMaster(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.stopNameNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Stops the namenode if this is a distributed cluster, otherwise silently logs warning message.
    void
    MiniHBaseCluster.stopNameNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.stopRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Stops the given region server, by attempting a gradual stop.
    void
    MiniHBaseCluster.stopRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.stopZkNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Stops the region zookeeper if this is a distributed cluster, otherwise silently logs warning message.
    void
    MiniHBaseCluster.stopZkNode(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    abstract void
    HBaseCluster.suspendRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    Suspend the region server
    void
    MiniHBaseCluster.suspendRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
    static org.apache.hadoop.hbase.ServerMetrics
    ServerMetricsBuilder.toServerMetrics(org.apache.hadoop.hbase.ServerName serverName, int versionNumber, String version, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoadPB)
     
    static org.apache.hadoop.hbase.ServerMetrics
    ServerMetricsBuilder.toServerMetrics(org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoadPB)
     
    static void
    MetaTableAccessor.updateRegionLocation(org.apache.hadoop.hbase.client.Connection connection, org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.ServerName sn, long openSeqNum, long masterSystemTime)
    Updates the location of the specified region in hbase:meta to be the specified server hostname and startcode.
    abstract void
    HBaseCluster.waitForDataNodeToStart(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
    Wait for the specified datanode to join the cluster
    void
    MiniHBaseCluster.waitForDataNodeToStart(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
     
    abstract void
    HBaseCluster.waitForDataNodeToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
    Wait for the specified datanode to stop the thread / process.
    void
    MiniHBaseCluster.waitForDataNodeToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
     
    abstract void
    HBaseCluster.waitForMasterToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
    Wait for the specified master to stop the thread / process.
    void
    MiniHBaseCluster.waitForMasterToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
     
    abstract void
    HBaseCluster.waitForNameNodeToStart(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
    Wait for the specified namenode to join the cluster
    void
    MiniHBaseCluster.waitForNameNodeToStart(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
     
    abstract void
    HBaseCluster.waitForNameNodeToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
    Wait for the specified namenode to stop
    void
    MiniHBaseCluster.waitForNameNodeToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
     
    abstract void
    HBaseCluster.waitForRegionServerToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
    Wait for the specified region server to stop the thread / process.
    void
    MiniHBaseCluster.waitForRegionServerToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
     
    abstract void
    HBaseCluster.waitForZkNodeToStart(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
    Wait for the specified zookeeper node to join the cluster
    void
    MiniHBaseCluster.waitForZkNodeToStart(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
     
    abstract void
    HBaseCluster.waitForZkNodeToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
    Wait for the specified zookeeper node to stop the thread / process.
    void
    MiniHBaseCluster.waitForZkNodeToStop(org.apache.hadoop.hbase.ServerName serverName, long timeout)
    Deprecated.
     
    Method parameters in org.apache.hadoop.hbase with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ClusterMetricsBuilder
    ClusterMetricsBuilder.setBackerMasterNames(List<org.apache.hadoop.hbase.ServerName> value)
     
    org.apache.hadoop.hbase.ClusterMetricsBuilder
    ClusterMetricsBuilder.setDeadServerNames(List<org.apache.hadoop.hbase.ServerName> value)
     
    org.apache.hadoop.hbase.ClusterMetricsBuilder
    ClusterMetricsBuilder.setDecommissionedServerNames(List<org.apache.hadoop.hbase.ServerName> value)
     
    org.apache.hadoop.hbase.ClusterMetricsBuilder
    ClusterMetricsBuilder.setLiveServerMetrics(Map<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.ServerMetrics> value)
     
    org.apache.hadoop.hbase.ClusterMetricsBuilder
    ClusterMetricsBuilder.setServerNames(List<org.apache.hadoop.hbase.ServerName> serversName)
     
    org.apache.hadoop.hbase.ClusterMetricsBuilder
    ClusterMetricsBuilder.setUnknownServerNames(List<org.apache.hadoop.hbase.ServerName> value)
     
    Constructors in org.apache.hadoop.hbase with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    Done(org.apache.hadoop.hbase.ServerName originServer)
     
     
    Err(org.apache.hadoop.hbase.ServerName originServer)
     
     
    HRegionLocation(org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.ServerName serverName)
     
     
    HRegionLocation(org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.ServerName serverName, long seqNum)
     
     
    MockRegionServerServices(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw, org.apache.hadoop.hbase.ServerName serverName)
     
     
    Owned(org.apache.hadoop.hbase.ServerName originServer)
     
     
    Resigned(org.apache.hadoop.hbase.ServerName originServer)
     
     
    Unassigned(org.apache.hadoop.hbase.ServerName originServer)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.client

    Methods in org.apache.hadoop.hbase.client that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    default org.apache.hadoop.hbase.ServerName
    Admin.getMaster()
    Get the current active master.
    Methods in org.apache.hadoop.hbase.client that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.ServerName>
    Admin.clearDeadServers(List<org.apache.hadoop.hbase.ServerName> servers)
    Clear dead region servers from master.
    CompletableFuture<List<org.apache.hadoop.hbase.ServerName>>
    AsyncAdmin.clearDeadServers(List<org.apache.hadoop.hbase.ServerName> servers)
    Clear dead region servers from master.
    Map<org.apache.hadoop.hbase.ServerName,Boolean>
    Admin.compactionSwitch(boolean switchState, List<String> serverNamesList)
    Turn the compaction on or off.
    CompletableFuture<Map<org.apache.hadoop.hbase.ServerName,Boolean>>
    AsyncAdmin.compactionSwitch(boolean switchState, List<String> serverNamesList)
    Turn the compaction on or off.
    static <S, R> CompletableFuture<Map<org.apache.hadoop.hbase.ServerName,Object>>
    AsyncAdminClientUtils.coprocessorServiceOnAllRegionServers(org.apache.hadoop.hbase.client.AsyncAdmin asyncAdmin, Function<org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel,S> stubMaker, org.apache.hadoop.hbase.client.ServiceCaller<S,R> callable)
    Execute the given coprocessor call on all region servers.
    protected CompletableFuture<Set<org.apache.hadoop.hbase.ServerName>>
    MasterRegistry.fetchEndpoints()
    Deprecated.
     
    protected CompletableFuture<Set<org.apache.hadoop.hbase.ServerName>>
    RpcConnectionRegistry.fetchEndpoints()
     
    CompletableFuture<org.apache.hadoop.hbase.ServerName>
    ConnectionRegistry.getActiveMaster()
    Get the address of active HMaster.
    Optional<org.apache.hadoop.hbase.ServerName>
    ConnectionRegistryEndpoint.getActiveMaster()
    Get active master address.
    CompletableFuture<List<org.apache.hadoop.hbase.ServerName>>
    AsyncClusterConnection.getAllBootstrapNodes(org.apache.hadoop.hbase.ServerName regionServer)
    Get the bootstrap node list of another region server.
    default Collection<org.apache.hadoop.hbase.ServerName>
    Admin.getBackupMasters()
    Get a list of current backup masters.
    default CompletableFuture<Collection<org.apache.hadoop.hbase.ServerName>>
    AsyncAdmin.getBackupMasters()
    Returns current backup master list wrapped by CompletableFuture
    List<org.apache.hadoop.hbase.ServerName>
    ConnectionRegistryEndpoint.getBackupMasters()
    Get backup masters address.
    Iterator<org.apache.hadoop.hbase.ServerName>
    ConnectionRegistryEndpoint.getBootstrapNodes()
    Get a iterator of the available bootstrap nodes.
    protected Set<org.apache.hadoop.hbase.ServerName>
    MasterRegistry.getBootstrapNodes(org.apache.hadoop.conf.Configuration conf)
    Deprecated.
     
    protected Set<org.apache.hadoop.hbase.ServerName>
    RpcConnectionRegistry.getBootstrapNodes(org.apache.hadoop.conf.Configuration conf)
     
    CompletableFuture<List<org.apache.hadoop.hbase.ServerName>>
    AsyncClusterConnection.getLiveRegionServers(org.apache.hadoop.hbase.zookeeper.MasterAddressTracker masterAddrTracker, int count)
    Get live region servers from masters.
    default CompletableFuture<org.apache.hadoop.hbase.ServerName>
    AsyncAdmin.getMaster()
    Returns current master server name wrapped by CompletableFuture
    default Collection<org.apache.hadoop.hbase.ServerName>
    Admin.getRegionServers()
    Get the live server list.
    default Collection<org.apache.hadoop.hbase.ServerName>
    Admin.getRegionServers(boolean excludeDecommissionedRS)
    Retrieve all current live region servers including decommissioned if excludeDecommissionedRS is false, else non-decommissioned ones only
    default CompletableFuture<Collection<org.apache.hadoop.hbase.ServerName>>
    AsyncAdmin.getRegionServers()
    Returns current live region servers list wrapped by CompletableFuture
    default CompletableFuture<Collection<org.apache.hadoop.hbase.ServerName>>
    AsyncAdmin.getRegionServers(boolean excludeDecommissionedRS)
     
    ConcurrentHashMap<org.apache.hadoop.hbase.ServerName,ConcurrentMap<byte[],org.apache.hadoop.hbase.client.MetricsConnection.RegionStats>>
    MetricsConnection.getServerStats()
    serverStats metric
    default List<org.apache.hadoop.hbase.ServerName>
    Admin.listDeadServers()
    List dead region servers.
    default CompletableFuture<List<org.apache.hadoop.hbase.ServerName>>
    AsyncAdmin.listDeadServers()
    List all the dead region servers.
    List<org.apache.hadoop.hbase.ServerName>
    Admin.listDecommissionedRegionServers()
    List region servers marked as decommissioned, which can not be assigned regions.
    CompletableFuture<List<org.apache.hadoop.hbase.ServerName>>
    AsyncAdmin.listDecommissionedRegionServers()
    List region servers marked as decommissioned, which can not be assigned regions.
    default List<org.apache.hadoop.hbase.ServerName>
    Admin.listUnknownServers()
    List unknown region servers.
    default CompletableFuture<List<org.apache.hadoop.hbase.ServerName>>
    AsyncAdmin.listUnknownServers()
    List all the unknown region servers.
    static Set<org.apache.hadoop.hbase.ServerName>
    MasterRegistry.parseMasterAddrs(org.apache.hadoop.conf.Configuration conf)
    Deprecated.
    Parses the list of master addresses from the provided configuration.
    Methods in org.apache.hadoop.hbase.client with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    void
    Admin.clearCompactionQueues(org.apache.hadoop.hbase.ServerName serverName, Set<String> queues)
    Clear compacting queues on a regionserver.
    AsyncAdmin.clearCompactionQueues(org.apache.hadoop.hbase.ServerName serverName, Set<String> queues)
    Clear compacting queues on a region server.
    void
    Admin.compactRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Compact all regions on the region server.
    AsyncAdmin.compactRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Compact all regions on the region server.
    org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel
    Admin.coprocessorService(org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
    since 3.0.0, will removed in 4.0.0.
    AsyncAdmin.coprocessorService(Function<org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel,S> stubMaker, org.apache.hadoop.hbase.client.ServiceCaller<S,R> callable, org.apache.hadoop.hbase.ServerName serverName)
    Execute the given coprocessor call on the given region server.
    void
    RequestController.decTaskCounters(Collection<byte[]> regions, org.apache.hadoop.hbase.ServerName sn)
    Decrement the counter if a task is accomplished.
    void
    Admin.flushRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Flush all regions on the region server.
    AsyncAdmin.flushRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Flush all region on the region server.
    CompletableFuture<List<org.apache.hadoop.hbase.ServerName>>
    AsyncClusterConnection.getAllBootstrapNodes(org.apache.hadoop.hbase.ServerName regionServer)
    Get the bootstrap node list of another region server.
    Admin.getCachedFilesList(org.apache.hadoop.hbase.ServerName serverName)
    Get the list of cached files
    AsyncAdmin.getCachedFilesList(org.apache.hadoop.hbase.ServerName serverName)
    Get the list of cached files
    org.apache.hadoop.hbase.client.Hbck
    AsyncConnection.getHbck(org.apache.hadoop.hbase.ServerName masterServer)
    Retrieve an Hbck implementation to fix an HBase cluster.
    org.apache.hadoop.hbase.client.Hbck
    AsyncConnectionImpl.getHbck(org.apache.hadoop.hbase.ServerName masterServer)
     
    default org.apache.hadoop.hbase.client.Hbck
    Connection.getHbck(org.apache.hadoop.hbase.ServerName masterServer)
    Retrieve an Hbck implementation to fix an HBase cluster.
    org.apache.hadoop.hbase.client.Hbck
    SharedAsyncConnection.getHbck(org.apache.hadoop.hbase.ServerName masterServer)
     
    org.apache.hadoop.hbase.client.Hbck
    SharedConnection.getHbck(org.apache.hadoop.hbase.ServerName masterServer)
     
    List<org.apache.hadoop.hbase.RegionMetrics>
    Admin.getRegionMetrics(org.apache.hadoop.hbase.ServerName serverName)
    Get RegionMetrics of all regions hosted on a regionserver.
    List<org.apache.hadoop.hbase.RegionMetrics>
    Admin.getRegionMetrics(org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.TableName tableName)
    Get RegionMetrics of all regions hosted on a regionserver for a table.
    CompletableFuture<List<org.apache.hadoop.hbase.RegionMetrics>>
    AsyncAdmin.getRegionMetrics(org.apache.hadoop.hbase.ServerName serverName)
    Get a list of RegionMetrics of all regions hosted on a region server.
    CompletableFuture<List<org.apache.hadoop.hbase.RegionMetrics>>
    AsyncAdmin.getRegionMetrics(org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.TableName tableName)
    Get a list of RegionMetrics of all regions hosted on a region server for a table.
    List<org.apache.hadoop.hbase.client.RegionInfo>
    Admin.getRegions(org.apache.hadoop.hbase.ServerName serverName)
    Get all the online regions on a region server.
    CompletableFuture<List<org.apache.hadoop.hbase.client.RegionInfo>>
    AsyncAdmin.getRegions(org.apache.hadoop.hbase.ServerName serverName)
    Get all the online regions on a region server.
    org.apache.hadoop.hbase.client.AsyncRegionServerAdmin
    AsyncClusterConnection.getRegionServerAdmin(org.apache.hadoop.hbase.ServerName serverName)
    Get the admin service for the given region server.
    Map<org.apache.hadoop.hbase.TableName,? extends org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotView>
    Admin.getRegionServerSpaceQuotaSnapshots(org.apache.hadoop.hbase.ServerName serverName)
    Fetches the observed SpaceQuotaSnapshotViews observed by a RegionServer.
    CompletableFuture<? extends Map<org.apache.hadoop.hbase.TableName,? extends org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotView>>
    AsyncAdmin.getRegionServerSpaceQuotaSnapshots(org.apache.hadoop.hbase.ServerName serverName)
    Fetches the observed SpaceQuotaSnapshotViews observed by a RegionServer.
    org.apache.hadoop.hbase.client.backoff.ServerStatistics
    ServerStatisticTracker.getStats(org.apache.hadoop.hbase.ServerName server)
     
    void
    RequestController.incTaskCounters(Collection<byte[]> regions, org.apache.hadoop.hbase.ServerName sn)
    Increment the counter if we build a valid task.
    void
    Admin.majorCompactRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Major compact all regions on the region server.
    AsyncAdmin.majorCompactRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Compact all regions on the region server.
    void
    Admin.move(byte[] encodedRegionName, org.apache.hadoop.hbase.ServerName destServerName)
    Move the region encodedRegionName to destServerName.
    AsyncAdmin.move(byte[] regionName, org.apache.hadoop.hbase.ServerName destServerName)
    Move the region r to dest.
    void
    Admin.recommissionRegionServer(org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames)
    Remove decommission marker from a region server to allow regions assignments.
    AsyncAdmin.recommissionRegionServer(org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames)
    Remove decommission marker from a region server to allow regions assignments.
    void
    Admin.rollWALWriter(org.apache.hadoop.hbase.ServerName serverName)
    Roll the log writer.
    AsyncAdmin.rollWALWriter(org.apache.hadoop.hbase.ServerName serverName)
    Roll the log writer.
    AsyncAdmin.stopRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Stop the designated regionserver.
    void
    Admin.updateConfiguration(org.apache.hadoop.hbase.ServerName server)
    Update the configuration and trigger an online config change on the regionserver.
    AsyncAdmin.updateConfiguration(org.apache.hadoop.hbase.ServerName serverName)
    Update the configuration and trigger an online config change on the regionserver.
    void
    MetricsConnection.updateRegionStats(org.apache.hadoop.hbase.ServerName serverName, byte[] regionName, org.apache.hadoop.hbase.client.RegionLoadStats stats)
     
    void
    ServerStatisticTracker.updateRegionStats(org.apache.hadoop.hbase.ServerName server, byte[] region, org.apache.hadoop.hbase.client.RegionLoadStats currentStats)
     
    void
    StatisticTrackable.updateRegionStats(org.apache.hadoop.hbase.ServerName server, byte[] region, org.apache.hadoop.hbase.client.RegionLoadStats stats)
    Update stats per region.
    void
    MetricsConnection.updateServerStats(org.apache.hadoop.hbase.ServerName serverName, byte[] regionName, Object r)
     
    static void
    ResultStatsUtil.updateStats(org.apache.hadoop.hbase.client.StatisticTrackable tracker, org.apache.hadoop.hbase.ServerName server, byte[] regionName, org.apache.hadoop.hbase.client.RegionLoadStats stats)
    Update the statistics for the specified region.
    Method parameters in org.apache.hadoop.hbase.client with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.ServerName>
    Admin.clearDeadServers(List<org.apache.hadoop.hbase.ServerName> servers)
    Clear dead region servers from master.
    CompletableFuture<List<org.apache.hadoop.hbase.ServerName>>
    AsyncAdmin.clearDeadServers(List<org.apache.hadoop.hbase.ServerName> servers)
    Clear dead region servers from master.
    Admin.clearSlowLogResponses(Set<org.apache.hadoop.hbase.ServerName> serverNames)
    Clears online slow/large RPC logs from the provided list of RegionServers
    AsyncAdmin.clearSlowLogResponses(Set<org.apache.hadoop.hbase.ServerName> serverNames)
    Clears online slow RPC logs from the provided list of RegionServers
    void
    Admin.decommissionRegionServers(List<org.apache.hadoop.hbase.ServerName> servers, boolean offload)
    Mark region server(s) as decommissioned to prevent additional regions from getting assigned to them.
    AsyncAdmin.decommissionRegionServers(List<org.apache.hadoop.hbase.ServerName> servers, boolean offload)
    Mark region server(s) as decommissioned to prevent additional regions from getting assigned to them.
    Admin.getLogEntries(Set<org.apache.hadoop.hbase.ServerName> serverNames, String logType, org.apache.hadoop.hbase.client.ServerType serverType, int limit, Map<String,Object> filterParams)
    Retrieve recent online records from HMaster / RegionServers.
    AsyncAdmin.getLogEntries(Set<org.apache.hadoop.hbase.ServerName> serverNames, String logType, org.apache.hadoop.hbase.client.ServerType serverType, int limit, Map<String,Object> filterParams)
    Retrieve recent online records from HMaster / RegionServers.
    Admin.getSlowLogResponses(Set<org.apache.hadoop.hbase.ServerName> serverNames, LogQueryFilter logQueryFilter)
    Deprecated.
    since 2.4.0 and will be removed in 4.0.0.
    AsyncAdmin.getSlowLogResponses(Set<org.apache.hadoop.hbase.ServerName> serverNames, LogQueryFilter logQueryFilter)
    Deprecated.
    since 2.4.0 and will be removed in 4.0.0.
    HBaseHbck.scheduleServerCrashProcedures(List<org.apache.hadoop.hbase.ServerName> serverNames)
     
    Hbck.scheduleServerCrashProcedures(List<org.apache.hadoop.hbase.ServerName> serverNames)
     
    Constructors in org.apache.hadoop.hbase.client with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    AsyncAdminRequestRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, org.apache.hadoop.hbase.client.AsyncConnectionImpl conn, int priority, long pauseNs, long pauseNsForServerOverloaded, int maxAttempts, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt, org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.client.AsyncAdminRequestRetryingCaller.Callable<T> callable)
     
     
    AsyncServerRequestRpcRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, org.apache.hadoop.hbase.client.AsyncConnectionImpl conn, long pauseNs, long pauseNsForServerOverloaded, int maxAttempts, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt, org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.client.AsyncServerRequestRpcRetryingCaller.Callable<T> callable)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.client.backoff

    Methods in org.apache.hadoop.hbase.client.backoff with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    long
    ClientBackoffPolicy.getBackoffTime(org.apache.hadoop.hbase.ServerName serverName, byte[] region, org.apache.hadoop.hbase.client.backoff.ServerStatistics stats)
    Returns the number of ms to wait on the client based on the
    long
    ClientBackoffPolicyFactory.NoBackoffPolicy.getBackoffTime(org.apache.hadoop.hbase.ServerName serverName, byte[] region, org.apache.hadoop.hbase.client.backoff.ServerStatistics stats)
     
    long
    ExponentialClientBackoffPolicy.getBackoffTime(org.apache.hadoop.hbase.ServerName serverName, byte[] region, org.apache.hadoop.hbase.client.backoff.ServerStatistics stats)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.coordination

    Methods in org.apache.hadoop.hbase.coordination that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    SplitLogManagerCoordination.SplitLogManagerDetails.getServerName()
    Returns server name
    Methods in org.apache.hadoop.hbase.coordination with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    protected static int
    ZkSplitLogWorkerCoordination.attemptToOwnTask(boolean isFirstTime, org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw, org.apache.hadoop.hbase.ServerName server, String task, int taskZKVersion)
    Try to own the task by transitioning the zk node data from UNASSIGNED to OWNED.
    org.apache.hadoop.hbase.coordination.ZKSplitLogManagerCoordination.TaskFinisher.Status
    ZKSplitLogManagerCoordination.TaskFinisher.finish(org.apache.hadoop.hbase.ServerName workerName, String taskname)
    finish the partially done task.
    Constructors in org.apache.hadoop.hbase.coordination with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    ZkSplitLogWorkerCoordination(org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.coprocessor

    Methods in org.apache.hadoop.hbase.coprocessor that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    MasterCoprocessorEnvironment.getServerName()
    Returns Hosting Server's ServerName
    org.apache.hadoop.hbase.ServerName
    RegionCoprocessorEnvironment.getServerName()
    Returns Hosting Server's ServerName
    org.apache.hadoop.hbase.ServerName
    RegionServerCoprocessorEnvironment.getServerName()
    Returns Hosting Server's ServerName
    Methods in org.apache.hadoop.hbase.coprocessor with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    default void
    MasterObserver.postMove(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer)
    Called after the region move has been requested.
    default void
    MasterObserver.postRecommissionRegionServer(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames)
    Called after recommission region server.
    default void
    MasterObserver.preMove(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer)
    Called prior to moving a given region from one region server to another.
    default void
    MasterObserver.preRecommissionRegionServer(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames)
    Called before recommission region server.
    Method parameters in org.apache.hadoop.hbase.coprocessor with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    default void
    MasterObserver.postClearDeadServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.ServerName> servers, List<org.apache.hadoop.hbase.ServerName> notClearedServers)
    Called after clear dead region servers.
    default void
    MasterObserver.postDecommissionRegionServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.ServerName> servers, boolean offload)
    Called after decommission region servers.
    default void
    MasterObserver.preDecommissionRegionServers(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.ServerName> servers, boolean offload)
    Called before decommission region servers.
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.exceptions

    Methods in org.apache.hadoop.hbase.exceptions that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    RegionMovedException.getServerName()
     
    Constructors in org.apache.hadoop.hbase.exceptions with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    PreemptiveFastFailException(long count, long timeOfFirstFailureMilliSec, long timeOfLatestAttemptMilliSec, org.apache.hadoop.hbase.ServerName serverName)
    Deprecated.
     
     
    PreemptiveFastFailException(long count, long timeOfFirstFailureMilliSec, long timeOfLatestAttemptMilliSec, org.apache.hadoop.hbase.ServerName serverName, boolean guaranteedClientSideOnly)
    Deprecated.
     
     
    RegionMovedException(org.apache.hadoop.hbase.ServerName serverName, long locationSeqNum)
     
    Constructor parameters in org.apache.hadoop.hbase.exceptions with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    MasterRegistryFetchException(Set<org.apache.hadoop.hbase.ServerName> masters, Throwable failure)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.favored

    Methods in org.apache.hadoop.hbase.favored that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    FavoredNodeAssignmentHelper.generateMissingFavoredNode(List<org.apache.hadoop.hbase.ServerName> favoredNodes)
     
    org.apache.hadoop.hbase.ServerName
    FavoredNodeAssignmentHelper.generateMissingFavoredNode(List<org.apache.hadoop.hbase.ServerName> favoredNodes, List<org.apache.hadoop.hbase.ServerName> excludeNodes)
     
    static org.apache.hadoop.hbase.ServerName[]
    FavoredNodeAssignmentHelper.getFavoredNodesList(byte[] favoredNodes)
    Convert PB bytes to ServerName.
    protected org.apache.hadoop.hbase.ServerName
    FavoredNodeAssignmentHelper.getOneRandomServer(String rack, Set<org.apache.hadoop.hbase.ServerName> skipServerSet)
    Gets a random server from the specified rack and skips anything specified.
    org.apache.hadoop.hbase.ServerName[]
    FavoredNodeAssignmentHelper.getSecondaryAndTertiary(org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.ServerName primaryRS)
     
    org.apache.hadoop.hbase.ServerName
    FavoredNodeLoadBalancer.randomAssignment(org.apache.hadoop.hbase.client.RegionInfo regionInfo, List<org.apache.hadoop.hbase.ServerName> servers)
     
    Methods in org.apache.hadoop.hbase.favored that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.ServerName>
    FavoredNodeAssignmentHelper.generateFavoredNodes(org.apache.hadoop.hbase.client.RegionInfo hri)
     
    Map<org.apache.hadoop.hbase.client.RegionInfo,List<org.apache.hadoop.hbase.ServerName>>
    FavoredNodeAssignmentHelper.generateFavoredNodesRoundRobin(Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> assignmentMap, List<org.apache.hadoop.hbase.client.RegionInfo> regions)
     
    Map<String,List<org.apache.hadoop.hbase.ServerName>>
    FavoredNodesPlan.getAssignmentMap()
    Return the mapping between each region to its favored region server list.
    List<org.apache.hadoop.hbase.ServerName>
    FavoredNodeLoadBalancer.getFavoredNodes(org.apache.hadoop.hbase.client.RegionInfo regionInfo)
     
    List<org.apache.hadoop.hbase.ServerName>
    FavoredNodesManager.getFavoredNodes(org.apache.hadoop.hbase.client.RegionInfo regionInfo)
     
    List<org.apache.hadoop.hbase.ServerName>
    FavoredNodesPlan.getFavoredNodes(org.apache.hadoop.hbase.client.RegionInfo region)
    Returns the list of favored region server for this region based on the plan
    List<org.apache.hadoop.hbase.ServerName>
    FavoredNodesPromoter.getFavoredNodes(org.apache.hadoop.hbase.client.RegionInfo regionInfo)
     
    List<org.apache.hadoop.hbase.ServerName>
    FavoredNodesManager.getFavoredNodesWithDNPort(org.apache.hadoop.hbase.client.RegionInfo regionInfo)
    This should only be used when sending FN information to the region servers.
    Map<org.apache.hadoop.hbase.ServerName,List<Integer>>
    FavoredNodesManager.getReplicaLoad(List<org.apache.hadoop.hbase.ServerName> servers)
    Get the replica count for the servers provided.
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    FavoredNodeLoadBalancer.roundRobinAssignment(List<org.apache.hadoop.hbase.client.RegionInfo> regions, List<org.apache.hadoop.hbase.ServerName> servers)
     
    Methods in org.apache.hadoop.hbase.favored with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.favored.FavoredNodesPlan.Position
    FavoredNodesPlan.getFavoredServerPosition(List<org.apache.hadoop.hbase.ServerName> favoredNodes, org.apache.hadoop.hbase.ServerName server)
    Return the position of the server in the favoredNodes list.
    Set<org.apache.hadoop.hbase.client.RegionInfo>
    FavoredNodesManager.getRegionsOfFavoredNode(org.apache.hadoop.hbase.ServerName serverName)
     
    org.apache.hadoop.hbase.ServerName[]
    FavoredNodeAssignmentHelper.getSecondaryAndTertiary(org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.ServerName primaryRS)
     
    Method parameters in org.apache.hadoop.hbase.favored with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    protected List<org.apache.hadoop.hbase.master.RegionPlan>
    FavoredNodeLoadBalancer.balanceTable(org.apache.hadoop.hbase.TableName tableName, Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> loadOfOneTable)
     
    void
    FavoredNodeLoadBalancer.generateFavoredNodesForDaughter(List<org.apache.hadoop.hbase.ServerName> servers, org.apache.hadoop.hbase.client.RegionInfo parent, org.apache.hadoop.hbase.client.RegionInfo regionA, org.apache.hadoop.hbase.client.RegionInfo regionB)
     
    void
    FavoredNodesPromoter.generateFavoredNodesForDaughter(List<org.apache.hadoop.hbase.ServerName> servers, org.apache.hadoop.hbase.client.RegionInfo parent, org.apache.hadoop.hbase.client.RegionInfo hriA, org.apache.hadoop.hbase.client.RegionInfo hriB)
     
    Map<org.apache.hadoop.hbase.client.RegionInfo,List<org.apache.hadoop.hbase.ServerName>>
    FavoredNodeAssignmentHelper.generateFavoredNodesRoundRobin(Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> assignmentMap, List<org.apache.hadoop.hbase.client.RegionInfo> regions)
     
    org.apache.hadoop.hbase.ServerName
    FavoredNodeAssignmentHelper.generateMissingFavoredNode(List<org.apache.hadoop.hbase.ServerName> favoredNodes)
     
    org.apache.hadoop.hbase.ServerName
    FavoredNodeAssignmentHelper.generateMissingFavoredNode(List<org.apache.hadoop.hbase.ServerName> favoredNodes, List<org.apache.hadoop.hbase.ServerName> excludeNodes)
     
    static byte[]
    FavoredNodeAssignmentHelper.getFavoredNodes(List<org.apache.hadoop.hbase.ServerName> serverAddrList)
    Returns PB'ed bytes of HBaseProtos.FavoredNodes generated by the server list.
    static String
    FavoredNodeAssignmentHelper.getFavoredNodesAsString(List<org.apache.hadoop.hbase.ServerName> nodes)
     
    static org.apache.hadoop.hbase.favored.FavoredNodesPlan.Position
    FavoredNodesPlan.getFavoredServerPosition(List<org.apache.hadoop.hbase.ServerName> favoredNodes, org.apache.hadoop.hbase.ServerName server)
    Return the position of the server in the favoredNodes list.
    protected org.apache.hadoop.hbase.ServerName
    FavoredNodeAssignmentHelper.getOneRandomServer(String rack, Set<org.apache.hadoop.hbase.ServerName> skipServerSet)
    Gets a random server from the specified rack and skips anything specified.
    Map<org.apache.hadoop.hbase.ServerName,List<Integer>>
    FavoredNodesManager.getReplicaLoad(List<org.apache.hadoop.hbase.ServerName> servers)
    Get the replica count for the servers provided.
    void
    FavoredNodeAssignmentHelper.placePrimaryRSAsRoundRobin(Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> assignmentMap, Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> primaryRSMap, List<org.apache.hadoop.hbase.client.RegionInfo> regions)
     
    Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName[]>
    FavoredNodeAssignmentHelper.placeSecondaryAndTertiaryRS(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> primaryRSMap)
     
    Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName[]>
    FavoredNodeAssignmentHelper.placeSecondaryAndTertiaryWithRestrictions(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> primaryRSMap)
    For regions that share the primary, avoid placing the secondary and tertiary on a same RS.
    org.apache.hadoop.hbase.ServerName
    FavoredNodeLoadBalancer.randomAssignment(org.apache.hadoop.hbase.client.RegionInfo regionInfo, List<org.apache.hadoop.hbase.ServerName> servers)
     
    void
    FavoredNodesManager.updateFavoredNodes(Map<org.apache.hadoop.hbase.client.RegionInfo,List<org.apache.hadoop.hbase.ServerName>> regionFNMap)
     
    void
    FavoredNodesPlan.updateFavoredNodesMap(org.apache.hadoop.hbase.client.RegionInfo region, List<org.apache.hadoop.hbase.ServerName> servers)
    Update an assignment to the plan
    static void
    FavoredNodeAssignmentHelper.updateMetaWithFavoredNodesInfo(Map<org.apache.hadoop.hbase.client.RegionInfo,List<org.apache.hadoop.hbase.ServerName>> regionToFavoredNodes, org.apache.hadoop.conf.Configuration conf)
    Update meta table with favored nodes info
    static void
    FavoredNodeAssignmentHelper.updateMetaWithFavoredNodesInfo(Map<org.apache.hadoop.hbase.client.RegionInfo,List<org.apache.hadoop.hbase.ServerName>> regionToFavoredNodes, org.apache.hadoop.hbase.client.Connection connection)
    Update meta table with favored nodes info
    Constructor parameters in org.apache.hadoop.hbase.favored with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    FavoredNodeAssignmentHelper(List<org.apache.hadoop.hbase.ServerName> servers, org.apache.hadoop.conf.Configuration conf)
     
     
    FavoredNodeAssignmentHelper(List<org.apache.hadoop.hbase.ServerName> servers, org.apache.hadoop.hbase.master.RackManager rackManager)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.ipc

    Methods in org.apache.hadoop.hbase.ipc with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    void
    AbstractRpcClient.cancelConnections(org.apache.hadoop.hbase.ServerName sn)
    Interrupt the connections to the given ip:port server.
    void
    RpcClient.cancelConnections(org.apache.hadoop.hbase.ServerName sn)
    Interrupt the connections to the given server.
    org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel
    AbstractRpcClient.createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User ticket, int rpcTimeout)
     
    org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel
    RpcClient.createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User user, int rpcTimeout)
    Creates a "channel" that can be used by a blocking protobuf service.
    org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
    AbstractRpcClient.createRpcChannel(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User user, int rpcTimeout)
     
    org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
    RpcClient.createRpcChannel(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User user, int rpcTimeout)
    Creates a "channel" that can be used by a protobuf service.
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.master

    Fields in org.apache.hadoop.hbase.master declared as org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Field
    Description
    static final org.apache.hadoop.hbase.ServerName
    LoadBalancer.BOGUS_SERVER_NAME
     
    org.apache.hadoop.hbase.ServerName
    SplitLogManager.Task.cur_worker_name
     
    Methods in org.apache.hadoop.hbase.master that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    SplitWALManager.acquireSplitWALWorker(org.apache.hadoop.hbase.procedure2.Procedure<?> procedure)
    Acquire a split WAL worker
    org.apache.hadoop.hbase.ServerName
    ServerManager.findServerWithSameHostnamePortWithLock(org.apache.hadoop.hbase.ServerName serverName)
    Assumes onlineServers is locked.
    org.apache.hadoop.hbase.ServerName
    RegionPlan.getDestination()
    Get the destination server for the plan for this region.
    org.apache.hadoop.hbase.ServerName
    HMaster.getServerName()
     
    org.apache.hadoop.hbase.ServerName
    RegionState.getServerName()
     
    org.apache.hadoop.hbase.ServerName
    RegionPlan.getSource()
    Get the source server for the plan for this region.
    org.apache.hadoop.hbase.ServerName
    LoadBalancer.randomAssignment(org.apache.hadoop.hbase.client.RegionInfo regionInfo, List<org.apache.hadoop.hbase.ServerName> servers)
    Get a random region server from the list
    Methods in org.apache.hadoop.hbase.master that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    Optional<org.apache.hadoop.hbase.ServerName>
    WorkerAssigner.acquire()
     
    Set<org.apache.hadoop.hbase.ServerName>
    DeadServer.copyServerNames()
     
    List<org.apache.hadoop.hbase.ServerName>
    ServerManager.createDestinationServersList()
    Calls ServerManager.createDestinationServersList(java.util.List<org.apache.hadoop.hbase.ServerName>) without server to exclude.
    List<org.apache.hadoop.hbase.ServerName>
    ServerManager.createDestinationServersList(List<org.apache.hadoop.hbase.ServerName> serversToExclude)
    Creates a list of possible destinations for a region.
    protected List<org.apache.hadoop.hbase.ServerName>
    ClusterStatusPublisher.generateDeadServersListToSend()
    Create the dead server to send.
    Optional<org.apache.hadoop.hbase.ServerName>
    HMaster.getActiveMaster()
     
    Optional<org.apache.hadoop.hbase.ServerName>
    ActiveMasterManager.getActiveMasterServerName()
     
    Set<org.apache.hadoop.hbase.ServerName>
    MasterRegionServerList.getAll()
     
    Set<org.apache.hadoop.hbase.ServerName>
    RegionServerList.getAll()
    Get all live region servers.
    List<org.apache.hadoop.hbase.ServerName>
    ActiveMasterManager.getBackupMasters()
    Returns list of registered backup masters.
    List<org.apache.hadoop.hbase.ServerName>
    HMaster.getBackupMasters()
     
    Iterator<org.apache.hadoop.hbase.ServerName>
    HMaster.getBootstrapNodes()
     
    protected List<org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.ServerName,Long>>
    ClusterStatusPublisher.getDeadServers(long since)
    Get the servers which died since a given timestamp.
    List<org.apache.hadoop.hbase.ServerName>
    ServerManager.getDrainingServersList()
    Returns A copy of the internal list of draining servers.
    Set<org.apache.hadoop.hbase.ServerName>
    MasterWalManager.getFailedServersFromLogFolders()
    Deprecated.
    With proc-v2, we can record the crash server with procedure store, so do not need to scan the wal directory to find out the splitting wal directory any more.
    static List<org.apache.hadoop.hbase.ServerName>
    RegionPlacementMaintainer.getFavoredNodeList(String favoredNodesStr)
     
    Collection<org.apache.hadoop.hbase.ServerName>
    HMaster.getLiveRegionServers()
     
    Set<org.apache.hadoop.hbase.ServerName>
    MasterWalManager.getLiveServersFromWALDir()
    Get Servernames that COULD BE 'alive'; excludes those that have a '-splitting' suffix as these are already being split -- they cannot be 'alive'.
    Map<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.ServerMetrics>
    ServerManager.getOnlineServers()
    Returns Read-only map of servers to serverinfo
    List<org.apache.hadoop.hbase.ServerName>
    ServerManager.getOnlineServersList()
    Returns A copy of the internal list of online servers.
    List<org.apache.hadoop.hbase.ServerName>
    ServerManager.getOnlineServersListWithPredicator(List<org.apache.hadoop.hbase.ServerName> keys, Predicate<org.apache.hadoop.hbase.ServerMetrics> idleServerPredicator)
     
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    SnapshotOfRegionAssignmentFromMeta.getPrimaryToRegionInfoMap()
     
    Set<org.apache.hadoop.hbase.ServerName>
    RegionServerTracker.getRegionServers()
     
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    SnapshotOfRegionAssignmentFromMeta.getRegionServerToRegionMap()
    Get regionserver to region map
    Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName>
    SnapshotOfRegionAssignmentFromMeta.getRegionToRegionServerMap()
    Get region to region server map
    HashMap<String,List<org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.replication.ReplicationLoadSource>>>
    HMaster.getReplicationLoad(org.apache.hadoop.hbase.ServerName[] serverNames)
     
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    SnapshotOfRegionAssignmentFromMeta.getSecondaryToRegionInfoMap()
     
    Set<org.apache.hadoop.hbase.ServerName>
    MasterWalManager.getServerNamesFromWALDirPath(org.apache.hadoop.fs.PathFilter filter)
    Returns listing of ServerNames found by parsing WAL directory paths in FS.
    Set<org.apache.hadoop.hbase.ServerName>
    MasterWalManager.getSplittingServersFromWALDir()
    Get Servernames which are currently splitting; paths have a '-splitting' suffix.
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    SnapshotOfRegionAssignmentFromMeta.getTertiaryToRegionInfoMap()
     
    List<org.apache.hadoop.hbase.ServerName>
    HMaster.listDecommissionedRegionServers()
    List region servers marked as decommissioned (previously called 'draining') to not get regions assigned to them.
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    LoadBalancer.retainAssignment(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> regions, List<org.apache.hadoop.hbase.ServerName> servers)
    Assign regions to the previously hosting region server
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    LoadBalancer.roundRobinAssignment(List<org.apache.hadoop.hbase.client.RegionInfo> regions, List<org.apache.hadoop.hbase.ServerName> servers)
    Perform a Round Robin assignment of regions.
    Methods in org.apache.hadoop.hbase.master with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    boolean
    ServerManager.addServerToDrainList(org.apache.hadoop.hbase.ServerName sn)
    Add the server to the drain list.
    void
    SplitWALManager.addUsedSplitWALWorker(org.apache.hadoop.hbase.ServerName worker)
    When master restart, there will be a new splitWorkerAssigner.
    void
    WorkerAssigner.addUsedWorker(org.apache.hadoop.hbase.ServerName worker)
     
    void
    MasterWalManager.archiveMetaLog(org.apache.hadoop.hbase.ServerName serverName)
    The hbase:meta region may OPEN and CLOSE without issue on a server and then move elsewhere.
    static void
    ServerManager.closeRegionSilentlyAndWait(org.apache.hadoop.hbase.client.AsyncClusterConnection connection, org.apache.hadoop.hbase.ServerName server, org.apache.hadoop.hbase.client.RegionInfo region, long timeout)
    Contacts a region server and waits up to timeout ms to close the region.
    protected org.apache.hadoop.hbase.master.ActiveMasterManager
    HMaster.createActiveMasterManager(org.apache.hadoop.hbase.zookeeper.ZKWatcher zk, org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.Server server)
    Protected to have custom implementations in tests override the default ActiveMaster implementation.
    void
    SplitWALManager.deleteWALDir(org.apache.hadoop.hbase.ServerName serverName)
     
    void
    MasterRegionServerList.expired(org.apache.hadoop.hbase.ServerName sn)
     
    void
    RegionServerList.expired(org.apache.hadoop.hbase.ServerName sn)
    Called when a region server is dead.
    long
    ServerManager.expireServer(org.apache.hadoop.hbase.ServerName serverName)
    Expire the passed server.
    org.apache.hadoop.hbase.ServerName
    ServerManager.findServerWithSameHostnamePortWithLock(org.apache.hadoop.hbase.ServerName serverName)
    Assumes onlineServers is locked.
    WorkerAssigner.getAvailableWorker(org.apache.hadoop.hbase.ServerName serverName)
     
    int
    ActiveMasterManager.getBackupMasterInfoPort(org.apache.hadoop.hbase.ServerName sn)
     
    int
    HMaster.getBackupMasterInfoPort(org.apache.hadoop.hbase.ServerName sn)
     
    int
    ServerManager.getInfoPort(org.apache.hadoop.hbase.ServerName serverName)
     
    org.apache.hadoop.hbase.ServerMetrics
    ServerManager.getLoad(org.apache.hadoop.hbase.ServerName serverName)
    Returns ServerMetrics if serverName is known else null
    RackManager.getRack(org.apache.hadoop.hbase.ServerName server)
    Get the name of the rack containing a server, according to the DNS to switch mapping.
    int
    HMaster.getRegionServerInfoPort(org.apache.hadoop.hbase.ServerName sn)
     
    HMaster.getRegionServerVersion(org.apache.hadoop.hbase.ServerName sn)
     
    MasterServices.getRegionServerVersion(org.apache.hadoop.hbase.ServerName sn)
     
    HashMap<String,List<org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.replication.ReplicationLoadSource>>>
    HMaster.getReplicationLoad(org.apache.hadoop.hbase.ServerName[] serverNames)
     
    DeadServer.getTimeOfDeath(org.apache.hadoop.hbase.ServerName deadServerName)
    Get the time when a server died
    ServerManager.getVersion(org.apache.hadoop.hbase.ServerName serverName)
    May return "0.0.0" when server is not online
    int
    ServerManager.getVersionNumber(org.apache.hadoop.hbase.ServerName serverName)
    May return 0 when server is not online.
    List<org.apache.hadoop.fs.FileStatus>
    SplitWALManager.getWALsToSplit(org.apache.hadoop.hbase.ServerName serverName, boolean splitMeta)
     
    void
    SplitLogManager.Task.heartbeat(long time, int version, org.apache.hadoop.hbase.ServerName worker)
     
    boolean
    RegionState.isClosingOrClosedOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    DeadServer.isDeadServer(org.apache.hadoop.hbase.ServerName serverName)
     
    boolean
    RegionState.isMergingNewOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isMergingNewOrOfflineOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isMergingNewOrOpenedOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isMergingOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isOpenedOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isOpeningOrFailedOpenOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isOpeningOrOpenedOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    ServerManager.isServerDead(org.apache.hadoop.hbase.ServerName serverName)
    Check if a server is known to be dead.
    org.apache.hadoop.hbase.master.ServerManager.ServerLiveState
    ServerManager.isServerKnownAndOnline(org.apache.hadoop.hbase.ServerName serverName)
    Returns whether the server is online, dead, or unknown.
    boolean
    ServerManager.isServerOnline(org.apache.hadoop.hbase.ServerName serverName)
     
    boolean
    ServerManager.isServerUnknown(org.apache.hadoop.hbase.ServerName serverName)
    Check if a server is unknown.
    boolean
    RegionState.isSplittingNewOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isSplittingOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isSplittingOrOpenedOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    boolean
    RegionState.isSplittingOrSplitOnServer(org.apache.hadoop.hbase.ServerName sn)
     
    void
    ServerManager.moveFromOnlineToDeadServers(org.apache.hadoop.hbase.ServerName sn)
    Called when server has expired.
    void
    MasterCoprocessorHost.postMove(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer)
     
    void
    MasterCoprocessorHost.postRecommissionRegionServer(org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames)
     
    void
    MasterCoprocessorHost.preMove(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.ServerName srcServer, org.apache.hadoop.hbase.ServerName destServer)
     
    void
    MasterCoprocessorHost.preRecommissionRegionServer(org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames)
     
    void
    HMaster.recommissionRegionServer(org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames)
    Remove decommission marker (previously called 'draining') from a region server to allow regions assignments.
    void
    LoadBalancer.regionOnline(org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.ServerName sn)
    Marks the region as online at balancer.
    void
    ServerManager.regionServerReport(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.ServerMetrics sl)
     
    void
    WorkerAssigner.release(org.apache.hadoop.hbase.ServerName serverName)
     
    void
    SplitWALManager.releaseSplitWALWorker(org.apache.hadoop.hbase.ServerName worker, org.apache.hadoop.hbase.master.procedure.MasterProcedureScheduler scheduler)
    After the worker finished the split WAL task, it will release the worker, and wake up all the suspend procedures in the ProcedureEvent
    boolean
    DeadServer.removeDeadServer(org.apache.hadoop.hbase.ServerName deadServerName)
    Called from rpc by operator cleaning up deadserver list.
    boolean
    ServerManager.removeServerFromDrainList(org.apache.hadoop.hbase.ServerName sn)
     
    default void
    ServerListener.serverAdded(org.apache.hadoop.hbase.ServerName serverName)
    The server has joined the cluster.
    void
    WorkerAssigner.serverAdded(org.apache.hadoop.hbase.ServerName worker)
     
    default void
    ServerListener.serverRemoved(org.apache.hadoop.hbase.ServerName serverName)
    The server was removed from the cluster.
    void
    RegionPlan.setDestination(org.apache.hadoop.hbase.ServerName dest)
    Set the destination server for the plan for this region.
    void
    MasterWalManager.splitLog(org.apache.hadoop.hbase.ServerName serverName)
     
    void
    MasterWalManager.splitMetaLog(org.apache.hadoop.hbase.ServerName serverName)
    Specialized method to handle the splitting for meta WAL
    List<org.apache.hadoop.hbase.procedure2.Procedure>
    SplitWALManager.splitWALs(org.apache.hadoop.hbase.ServerName crashedServer, boolean splitMeta)
     
    void
    MasterRegionServerList.started(org.apache.hadoop.hbase.ServerName sn)
     
    void
    RegionServerList.started(org.apache.hadoop.hbase.ServerName sn)
    Called when a region server join the cluster.
    Method parameters in org.apache.hadoop.hbase.master with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.master.RegionPlan>
    LoadBalancer.balanceCluster(Map<org.apache.hadoop.hbase.TableName,Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>> loadOfAllTable)
    Perform the major balance operation for cluster.
    List<org.apache.hadoop.hbase.ServerName>
    ServerManager.createDestinationServersList(List<org.apache.hadoop.hbase.ServerName> serversToExclude)
    Creates a list of possible destinations for a region.
    void
    HMaster.decommissionRegionServers(List<org.apache.hadoop.hbase.ServerName> servers, boolean offload)
    Mark region server(s) as decommissioned (previously called 'draining') to prevent additional regions from getting assigned to them.
    List<org.apache.hadoop.hbase.ServerName>
    ServerManager.getOnlineServersListWithPredicator(List<org.apache.hadoop.hbase.ServerName> keys, Predicate<org.apache.hadoop.hbase.ServerMetrics> idleServerPredicator)
     
    RackManager.getRack(List<org.apache.hadoop.hbase.ServerName> servers)
    Same as RackManager.getRack(ServerName) except that a list is passed
    void
    MasterCoprocessorHost.postClearDeadServers(List<org.apache.hadoop.hbase.ServerName> servers, List<org.apache.hadoop.hbase.ServerName> notClearedServers)
     
    void
    MasterCoprocessorHost.postDecommissionRegionServers(List<org.apache.hadoop.hbase.ServerName> servers, boolean offload)
     
    void
    MasterCoprocessorHost.preDecommissionRegionServers(List<org.apache.hadoop.hbase.ServerName> servers, boolean offload)
     
    org.apache.hadoop.hbase.ServerName
    LoadBalancer.randomAssignment(org.apache.hadoop.hbase.client.RegionInfo regionInfo, List<org.apache.hadoop.hbase.ServerName> servers)
    Get a random region server from the list
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    LoadBalancer.retainAssignment(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> regions, List<org.apache.hadoop.hbase.ServerName> servers)
    Assign regions to the previously hosting region server
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    LoadBalancer.retainAssignment(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> regions, List<org.apache.hadoop.hbase.ServerName> servers)
    Assign regions to the previously hosting region server
    void
    MasterWalManager.splitLog(Set<org.apache.hadoop.hbase.ServerName> serverNames)
     
    void
    MasterWalManager.splitLog(Set<org.apache.hadoop.hbase.ServerName> serverNames, org.apache.hadoop.fs.PathFilter filter)
    This method is the base split method that splits WAL files matching a filter.
    long
    SplitLogManager.splitLogDistributed(Set<org.apache.hadoop.hbase.ServerName> serverNames, List<org.apache.hadoop.fs.Path> logDirs, org.apache.hadoop.fs.PathFilter filter)
    Deprecated.
    The caller will block until all the hbase:meta log files of the given region server have been processed - successfully split or an error is encountered - by an available worker region server.
    void
    MasterWalManager.splitMetaLog(Set<org.apache.hadoop.hbase.ServerName> serverNames)
    Specialized method to handle the splitting for meta WAL
    default void
    LoadBalancer.updateBalancerLoadInfo(Map<org.apache.hadoop.hbase.TableName,Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>> loadOfAllTable)
    In some scenarios, Balancer needs to update internal status or information according to the current tables load
    void
    RegionServerTracker.upgrade(Set<org.apache.hadoop.hbase.ServerName> deadServersFromPE, Set<org.apache.hadoop.hbase.ServerName> liveServersBeforeRestart, Set<org.apache.hadoop.hbase.ServerName> splittingServersFromWALDir)
    Upgrade to active master mode, where besides tracking the changes of region server set, we will also started to add new region servers to ServerManager and also schedule SCP if a region server dies.
    Constructors in org.apache.hadoop.hbase.master with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    RegionPlan(org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.ServerName source, org.apache.hadoop.hbase.ServerName dest)
    Instantiate a plan for a region move, moving the specified region from the specified source server to the specified destination server.
     
    RegionState(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state, long stamp, org.apache.hadoop.hbase.ServerName serverName)
     
     
    RegionState(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state, long stamp, org.apache.hadoop.hbase.ServerName serverName, long ritDuration)
     
     
    RegionState(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state, org.apache.hadoop.hbase.ServerName serverName)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.regionserver

    Methods in org.apache.hadoop.hbase.regionserver that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    protected org.apache.hadoop.hbase.ServerName
    HRegionServer.createRegionServerStatusStub(boolean refresh)
    Get the current master from ZooKeeper and open the RPC connection to it.
    Methods in org.apache.hadoop.hbase.regionserver that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    Optional<org.apache.hadoop.hbase.ServerName>
    HRegionServer.getActiveMaster()
     
    List<org.apache.hadoop.hbase.ServerName>
    HRegionServer.getBackupMasters()
     
    List<org.apache.hadoop.hbase.ServerName>
    BootstrapNodeManager.getBootstrapNodes()
     
    Iterator<org.apache.hadoop.hbase.ServerName>
    HRegionServer.getBootstrapNodes()
     
    Methods in org.apache.hadoop.hbase.regionserver with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    protected boolean
    HRegionServer.closeRegion(String encodedName, boolean abort, org.apache.hadoop.hbase.ServerName destination)
    Close asynchronously a region, can be called from the master or internally by the regionserver when stopping.
    boolean
    HRegionServer.removeRegion(org.apache.hadoop.hbase.regionserver.HRegion r, org.apache.hadoop.hbase.ServerName destination)
     
    boolean
    MutableOnlineRegions.removeRegion(org.apache.hadoop.hbase.regionserver.HRegion r, org.apache.hadoop.hbase.ServerName destination)
    Removes the given Region from the list of onlineRegions.
    Constructors in org.apache.hadoop.hbase.regionserver with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    ScannerIdGenerator(org.apache.hadoop.hbase.ServerName serverName)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.regionserver.wal

    Constructors in org.apache.hadoop.hbase.regionserver.wal with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    WALEventTrackerListener(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.namequeues.NamedQueueRecorder namedQueueRecorder, org.apache.hadoop.hbase.ServerName serverName)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.replication

    Methods in org.apache.hadoop.hbase.replication that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    ReplicationQueueId.getServerName()
     
    org.apache.hadoop.hbase.ServerName
    ReplicationQueueId.getServerWALsBelongTo()
     
    Methods in org.apache.hadoop.hbase.replication that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    protected Collection<org.apache.hadoop.hbase.ServerName>
    HBaseReplicationEndpoint.fetchPeerAddresses()
    Get the list of all the region servers from the specified peer
    List<org.apache.hadoop.hbase.ServerName>
    ReplicationQueueInfo.getDeadRegionServers()
     
    Optional<org.apache.hadoop.hbase.ServerName>
    ReplicationQueueId.getSourceServerName()
     
    org.apache.hadoop.hbase.replication.ZKReplicationQueueStorageForMigration.MigrationIterator<org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.replication.ZKReplicationQueueStorageForMigration.ZkReplicationQueueData>>>
    ZKReplicationQueueStorageForMigration.listAllQueues()
     
    List<org.apache.hadoop.hbase.ServerName>
    ReplicationQueueStorage.listAllReplicators()
    Get a list of all region servers that have outstanding replication queues.
    List<org.apache.hadoop.hbase.ServerName>
    TableReplicationQueueStorage.listAllReplicators()
     
    Methods in org.apache.hadoop.hbase.replication with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    void
    ReplicationQueueStorage.batchUpdateQueues(org.apache.hadoop.hbase.ServerName serverName, List<org.apache.hadoop.hbase.replication.ReplicationQueueData> datas)
    Update the replication queue datas for a given region server.
    void
    TableReplicationQueueStorage.batchUpdateQueues(org.apache.hadoop.hbase.ServerName serverName, List<org.apache.hadoop.hbase.replication.ReplicationQueueData> datas)
     
    org.apache.hadoop.hbase.replication.ReplicationQueueId
    ReplicationQueueId.claim(org.apache.hadoop.hbase.ServerName targetServerName)
     
    Map<String,org.apache.hadoop.hbase.replication.ReplicationGroupOffset>
    ReplicationQueueStorage.claimQueue(org.apache.hadoop.hbase.replication.ReplicationQueueId queueId, org.apache.hadoop.hbase.ServerName targetServerName)
    Change ownership for the queue identified by queueId and belongs to a dead region server.
    Map<String,org.apache.hadoop.hbase.replication.ReplicationGroupOffset>
    TableReplicationQueueStorage.claimQueue(org.apache.hadoop.hbase.replication.ReplicationQueueId queueId, org.apache.hadoop.hbase.ServerName targetServerName)
     
    static byte[]
    ReplicationQueueId.getScanPrefix(org.apache.hadoop.hbase.ServerName serverName, String peerId)
     
    List<org.apache.hadoop.hbase.replication.ReplicationQueueId>
    ReplicationQueueStorage.listAllQueueIds(String peerId, org.apache.hadoop.hbase.ServerName serverName)
    Get a list of all queues for the specific region server and the specific peer
    List<org.apache.hadoop.hbase.replication.ReplicationQueueId>
    ReplicationQueueStorage.listAllQueueIds(org.apache.hadoop.hbase.ServerName serverName)
    Get a list of all queues for the specific region server.
    List<org.apache.hadoop.hbase.replication.ReplicationQueueId>
    TableReplicationQueueStorage.listAllQueueIds(String peerId, org.apache.hadoop.hbase.ServerName serverName)
     
    List<org.apache.hadoop.hbase.replication.ReplicationQueueId>
    TableReplicationQueueStorage.listAllQueueIds(org.apache.hadoop.hbase.ServerName serverName)
     
    void
    ReplicationListener.regionServerRemoved(org.apache.hadoop.hbase.ServerName regionServer)
    A region server has been removed from the local cluster
    Constructors in org.apache.hadoop.hbase.replication with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    ReplicationQueueId(org.apache.hadoop.hbase.ServerName serverName, String peerId)
     
     
    ReplicationQueueId(org.apache.hadoop.hbase.ServerName serverName, String peerId, org.apache.hadoop.hbase.ServerName sourceServerName)
     
     
    SinkPeer(org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.client.AsyncRegionServerAdmin regionServer)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.rest

    Methods in org.apache.hadoop.hbase.rest that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    RESTServer.getServerName()
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.rsgroup

    Methods in org.apache.hadoop.hbase.rsgroup that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    RSGroupBasedLoadBalancer.randomAssignment(org.apache.hadoop.hbase.client.RegionInfo region, List<org.apache.hadoop.hbase.ServerName> servers)
     
    Methods in org.apache.hadoop.hbase.rsgroup that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    RSGroupBasedLoadBalancer.retainAssignment(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> regions, List<org.apache.hadoop.hbase.ServerName> servers)
     
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    RSGroupBasedLoadBalancer.roundRobinAssignment(List<org.apache.hadoop.hbase.client.RegionInfo> regions, List<org.apache.hadoop.hbase.ServerName> servers)
     
    Methods in org.apache.hadoop.hbase.rsgroup with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    void
    RSGroupBasedLoadBalancer.regionOnline(org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.ServerName sn)
     
    Method parameters in org.apache.hadoop.hbase.rsgroup with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.master.RegionPlan>
    RSGroupBasedLoadBalancer.balanceCluster(Map<org.apache.hadoop.hbase.TableName,Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>> loadOfAllTable)
    Balance by RSGroup.
    org.apache.hadoop.hbase.ServerName
    RSGroupBasedLoadBalancer.randomAssignment(org.apache.hadoop.hbase.client.RegionInfo region, List<org.apache.hadoop.hbase.ServerName> servers)
     
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    RSGroupBasedLoadBalancer.retainAssignment(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> regions, List<org.apache.hadoop.hbase.ServerName> servers)
     
    Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>
    RSGroupBasedLoadBalancer.retainAssignment(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> regions, List<org.apache.hadoop.hbase.ServerName> servers)
     
    void
    RSGroupBasedLoadBalancer.updateBalancerLoadInfo(Map<org.apache.hadoop.hbase.TableName,Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>> loadOfAllTable)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.shaded.protobuf

    Methods in org.apache.hadoop.hbase.shaded.protobuf that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.ServerName
    ProtobufUtil.parseServerNameFrom(byte[] data)
    Get a ServerName from the passed in data bytes.
    static org.apache.hadoop.hbase.ServerName
    ProtobufUtil.toServerName(byte[] data)
    Get a ServerName from the passed in data bytes.
    static org.apache.hadoop.hbase.ServerName
    ProtobufUtil.toServerName(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ServerName proto)
    Convert a protocol buffer ServerName to a ServerName
    Methods in org.apache.hadoop.hbase.shaded.protobuf that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    static List<org.apache.hadoop.hbase.ServerName>
    ProtobufUtil.toServerNameList(List<org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ServerName> proto)
    Convert a list of protocol buffer ServerName to a list of ServerName
    Methods in org.apache.hadoop.hbase.shaded.protobuf with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionRequest
    ProtobufUtil.buildCloseRegionRequest(org.apache.hadoop.hbase.ServerName server, byte[] regionName)
    Create a CloseRegionRequest for a given region name
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionRequest
    ProtobufUtil.buildCloseRegionRequest(org.apache.hadoop.hbase.ServerName server, byte[] regionName, org.apache.hadoop.hbase.ServerName destinationServer)
     
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionRequest
    ProtobufUtil.buildCloseRegionRequest(org.apache.hadoop.hbase.ServerName server, byte[] regionName, org.apache.hadoop.hbase.ServerName destinationServer, long closeProcId)
     
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionRequest
    ProtobufUtil.buildCloseRegionRequest(org.apache.hadoop.hbase.ServerName server, byte[] regionName, org.apache.hadoop.hbase.ServerName destinationServer, long closeProcId, boolean evictCache, long initiatingMasterActiveTime)
     
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetServerInfoResponse
    ResponseConverter.buildGetServerInfoResponse(org.apache.hadoop.hbase.ServerName serverName, int webuiPort)
    A utility to build a GetServerInfoResponse.
    static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MoveRegionRequest
    RequestConverter.buildMoveRegionRequest(byte[] encodedRegionName, org.apache.hadoop.hbase.ServerName destServerName)
    Create a protocol buffer MoveRegionRequest
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest
    RequestConverter.buildOpenRegionRequest(org.apache.hadoop.hbase.ServerName server, org.apache.hadoop.hbase.client.RegionInfo region, List<org.apache.hadoop.hbase.ServerName> favoredNodes)
    Create a protocol buffer OpenRegionRequest for a given region
    static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.RecommissionRegionServerRequest
    RequestConverter.buildRecommissionRegionServerRequest(org.apache.hadoop.hbase.ServerName server, List<byte[]> encodedRegionNames)
     
    static void
    ProtobufUtil.closeRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.AdminService.BlockingInterface admin, org.apache.hadoop.hbase.ServerName server, byte[] regionName)
    A helper to close a region given a region name using admin protocol.
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionRequest.Builder
    ProtobufUtil.getBuilder(org.apache.hadoop.hbase.ServerName server, byte[] regionName, org.apache.hadoop.hbase.ServerName destinationServer, long closeProcId)
     
    static void
    ProtobufUtil.openRegion(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.AdminService.BlockingInterface admin, org.apache.hadoop.hbase.ServerName server, org.apache.hadoop.hbase.client.RegionInfo region)
    A helper to open a region using admin protocol.
    static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor
    ProtobufUtil.toRegionEventDescriptor(org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor.EventType eventType, byte[] tableNameAsBytes, byte[] encodedNameAsBytes, byte[] regionNameAsBytes, long seqId, org.apache.hadoop.hbase.ServerName server, Map<byte[],List<org.apache.hadoop.fs.Path>> storeFiles)
     
    static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor
    ProtobufUtil.toRegionEventDescriptor(org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor.EventType eventType, org.apache.hadoop.hbase.client.RegionInfo hri, long seqId, org.apache.hadoop.hbase.ServerName server, Map<byte[],List<org.apache.hadoop.fs.Path>> storeFiles)
     
    static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ServerName
    ProtobufUtil.toServerName(org.apache.hadoop.hbase.ServerName serverName)
    Convert a ServerName to a protocol buffer ServerName
    Method parameters in org.apache.hadoop.hbase.shaded.protobuf with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ClearDeadServersRequest
    RequestConverter.buildClearDeadServersRequest(Collection<org.apache.hadoop.hbase.ServerName> deadServers)
     
    static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.DecommissionRegionServersRequest
    RequestConverter.buildDecommissionRegionServersRequest(List<org.apache.hadoop.hbase.ServerName> servers, boolean offload)
     
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest
    RequestConverter.buildOpenRegionRequest(org.apache.hadoop.hbase.ServerName server, org.apache.hadoop.hbase.client.RegionInfo region, List<org.apache.hadoop.hbase.ServerName> favoredNodes)
    Create a protocol buffer OpenRegionRequest for a given region
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo
    RequestConverter.buildRegionOpenInfo(org.apache.hadoop.hbase.client.RegionInfo region, List<org.apache.hadoop.hbase.ServerName> favoredNodes, long openProcId)
    Create a RegionOpenInfo based on given region info and version of offline node
    static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.UpdateFavoredNodesRequest
    RequestConverter.buildUpdateFavoredNodesRequest(List<org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.hbase.client.RegionInfo,List<org.apache.hadoop.hbase.ServerName>>> updateRegionInfos)
    Create a protocol buffer UpdateFavoredNodesRequest to update a list of favorednode mappings
    static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ScheduleServerCrashProcedureRequest
    RequestConverter.toScheduleServerCrashProcedureRequest(List<org.apache.hadoop.hbase.ServerName> serverNames)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.testing

    Methods in org.apache.hadoop.hbase.testing that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    Optional<org.apache.hadoop.hbase.ServerName>
    TestingHBaseCluster.getActiveMasterAddress()
    Get the address of active master if there is one.
    List<org.apache.hadoop.hbase.ServerName>
    TestingHBaseCluster.getBackupMasterAddresses()
    Get all the backup master addresses.
    List<org.apache.hadoop.hbase.ServerName>
    TestingHBaseCluster.getRegionServerAddresses()
    Get all the region server addresses.
    Methods in org.apache.hadoop.hbase.testing with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    Optional<org.apache.hadoop.hbase.regionserver.OnlineRegions>
    TestingHBaseCluster.getOnlineRegionsInterface(org.apache.hadoop.hbase.ServerName serverName)
    Get the server side OnlineRegions interface for the specific region server.
    TestingHBaseCluster.stopMaster(org.apache.hadoop.hbase.ServerName serverName)
    Stop the given master.
    TestingHBaseCluster.stopRegionServer(org.apache.hadoop.hbase.ServerName serverName)
    Stop the given region server.
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.util

    Methods in org.apache.hadoop.hbase.util that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    HbckRegionInfo.MetaEntry.getRegionServer()
     
    Methods in org.apache.hadoop.hbase.util that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.ServerName>
    HbckRegionInfo.getDeployedOn()
     
    Methods in org.apache.hadoop.hbase.util with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    void
    HbckRegionInfo.addServer(org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.ServerName serverName)
     
    void
    HbckTableInfo.addServer(org.apache.hadoop.hbase.ServerName server)
     
    static void
    HBaseFsckRepair.closeRegionSilentlyAndWait(org.apache.hadoop.hbase.client.Connection connection, org.apache.hadoop.hbase.ServerName server, org.apache.hadoop.hbase.client.RegionInfo region)
    Contacts a region server and waits up to hbase.hbck.close.timeout ms (default 120s) to close the region.
    Method parameters in org.apache.hadoop.hbase.util with type arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    static void
    HBaseFsckRepair.fixMetaHoleOnlineAndAddReplicas(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.RegionInfo hri, Collection<org.apache.hadoop.hbase.ServerName> servers, int numReplicas)
    Puts the specified RegionInfo into META with replica related columns
    static void
    HBaseFsckRepair.fixMultiAssignment(org.apache.hadoop.hbase.client.Connection connection, org.apache.hadoop.hbase.client.RegionInfo region, List<org.apache.hadoop.hbase.ServerName> servers)
    Fix multiple assignment by doing silent closes on each RS hosting the region and then force ZK unassigned node to OFFLINE to trigger assignment by master.
    Constructors in org.apache.hadoop.hbase.util with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    MetaEntry(org.apache.hadoop.hbase.client.RegionInfo rinfo, org.apache.hadoop.hbase.ServerName regionServer, long modTime)
     
     
    MetaEntry(org.apache.hadoop.hbase.client.RegionInfo rinfo, org.apache.hadoop.hbase.ServerName regionServer, long modTime, org.apache.hadoop.hbase.client.RegionInfo splitA, org.apache.hadoop.hbase.client.RegionInfo splitB)
     
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.wal

    Methods in org.apache.hadoop.hbase.wal that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.ServerName
    AbstractFSWALProvider.getServerNameFromWALDirectoryName(org.apache.hadoop.conf.Configuration conf, String path)
    Pulls a ServerName out of a Path generated according to our layout rules.
    static org.apache.hadoop.hbase.ServerName
    AbstractFSWALProvider.getServerNameFromWALDirectoryName(org.apache.hadoop.fs.Path logFile)
    This function returns region server name from a log file name which is in one of the following formats: hdfs://<name node>/hbase/.logs/<server name>-splitting/... hdfs://<name node>/hbase/.logs/<server name>/...
    static org.apache.hadoop.hbase.ServerName
    AbstractFSWALProvider.parseServerNameFromWALName(String name)
    Parse the server name from wal prefix.
    Methods in org.apache.hadoop.hbase.wal with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    static List<org.apache.hadoop.fs.Path>
    AbstractFSWALProvider.getArchivedWALFiles(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.ServerName serverName, String logPrefix)
    List all the old wal files for a dead region server.
    static List<org.apache.hadoop.fs.Path>
    AbstractFSWALProvider.getWALFiles(org.apache.hadoop.conf.Configuration c, org.apache.hadoop.hbase.ServerName serverName)
    List all the wal files for a logPrefix.
    Constructors in org.apache.hadoop.hbase.wal with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier
    Constructor
    Description
     
    WALFactory(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.Abortable abortable)
    Create a WALFactory.
  • Uses of org.apache.hadoop.hbase.ServerName in org.apache.hadoop.hbase.zookeeper

    Methods in org.apache.hadoop.hbase.zookeeper that return org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.ServerName
    MasterAddressTracker.getMasterAddress()
    Get the address of the current master if one is available.
    org.apache.hadoop.hbase.ServerName
    MasterAddressTracker.getMasterAddress(boolean refresh)
    Get the address of the current master if one is available.
    static org.apache.hadoop.hbase.ServerName
    MasterAddressTracker.getMasterAddress(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw)
    Get master address.
    static org.apache.hadoop.hbase.ServerName
    MetaTableLocator.getMetaRegionLocation(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw)
    Gets the meta region location, if available.
    static org.apache.hadoop.hbase.ServerName
    MetaTableLocator.getMetaRegionLocation(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw, int replicaId)
    Gets the meta region location, if available.
    static org.apache.hadoop.hbase.ServerName[]
    ZKServerTool.readZKNodes(org.apache.hadoop.conf.Configuration conf)
     
    static org.apache.hadoop.hbase.ServerName
    MetaTableLocator.waitMetaRegionLocation(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw, long timeout)
    Gets the meta region location, if available, and waits for up to the specified timeout if not immediately available.
    Methods in org.apache.hadoop.hbase.zookeeper that return types with arguments of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.ServerName>
    MasterAddressTracker.getBackupMasters()
     
    static List<org.apache.hadoop.hbase.ServerName>
    MasterAddressTracker.getBackupMastersAndRenewWatch(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw)
    Retrieves the list of registered backup masters and renews a watch on the znode for children updates.
    Methods in org.apache.hadoop.hbase.zookeeper with parameters of type org.apache.hadoop.hbase.ServerName in in
    Modifier and Type
    Method
    Description
    int
    MasterAddressTracker.getBackupMasterInfoPort(org.apache.hadoop.hbase.ServerName sn)
    Get the info port of the backup master if it is available.
    static int
    MasterAddressTracker.getBackupMasterInfoPort(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw, org.apache.hadoop.hbase.ServerName sn)
    Get backup master info port.
    ZNodePaths.getRsPath(org.apache.hadoop.hbase.ServerName sn)
     
    static boolean
    MasterAddressTracker.setMasterAddress(org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw, String znode, org.apache.hadoop.hbase.ServerName master, int infoPort)
    Set master address into the master znode or into the backup subdirectory of backup masters; switch off the passed in znode path.
    static void
    MetaTableLocator.setMetaLocation(org.apache.hadoop.hbase.zookeeper.ZKWatcher zookeeper, org.apache.hadoop.hbase.ServerName serverName, int replicaId, org.apache.hadoop.hbase.master.RegionState.State state)
    Sets the location of hbase:meta in ZooKeeper to the specified server address.
    static void
    MetaTableLocator.setMetaLocation(org.apache.hadoop.hbase.zookeeper.ZKWatcher zookeeper, org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.master.RegionState.State state)
    Sets the location of hbase:meta in ZooKeeper to the specified server address.