|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HServerInfo | |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.avro | Provides an HBase Avro service. |
org.apache.hadoop.hbase.catalog | |
org.apache.hadoop.hbase.ipc | Tools to help define network clients and servers. |
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.master.handler | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.wal | |
org.apache.hadoop.hbase.zookeeper |
Uses of HServerInfo in org.apache.hadoop.hbase |
---|
Methods in org.apache.hadoop.hbase that return types with arguments of type HServerInfo | |
---|---|
Collection<HServerInfo> |
ClusterStatus.getServerInfo()
Returns detailed region server information: A list of HServerInfo , containing server load and resource usage
statistics as HServerLoad , containing per-region
statistics as HServerLoad.RegionLoad . |
Methods in org.apache.hadoop.hbase with parameters of type HServerInfo | |
---|---|
int |
HServerInfo.LoadComparator.compare(HServerInfo left,
HServerInfo right)
|
int |
HServerInfo.compareTo(HServerInfo o)
|
Method parameters in org.apache.hadoop.hbase with type arguments of type HServerInfo | |
---|---|
void |
ClusterStatus.setServerInfo(Collection<HServerInfo> serverInfo)
|
Constructors in org.apache.hadoop.hbase with parameters of type HServerInfo | |
---|---|
HServerInfo(HServerInfo other)
Copy-constructor |
Uses of HServerInfo in org.apache.hadoop.hbase.avro |
---|
Methods in org.apache.hadoop.hbase.avro with parameters of type HServerInfo | |
---|---|
static AServerInfo |
AvroUtil.hsiToASI(HServerInfo hsi)
|
Uses of HServerInfo in org.apache.hadoop.hbase.catalog |
---|
Methods in org.apache.hadoop.hbase.catalog that return types with arguments of type HServerInfo | |
---|---|
static Pair<HRegionInfo,HServerInfo> |
MetaReader.metaRowToRegionPairWithInfo(Result data)
|
Methods in org.apache.hadoop.hbase.catalog with parameters of type HServerInfo | |
---|---|
static void |
MetaEditor.addDaughter(CatalogTracker catalogTracker,
HRegionInfo regionInfo,
HServerInfo serverInfo)
|
static NavigableMap<HRegionInfo,Result> |
MetaReader.getServerUserRegions(CatalogTracker catalogTracker,
HServerInfo hsi)
|
static void |
MetaEditor.updateMetaLocation(CatalogTracker catalogTracker,
HRegionInfo regionInfo,
HServerInfo serverInfo)
Updates the location of the specified META region in ROOT to be the specified server hostname and startcode. |
static void |
MetaEditor.updateRegionLocation(CatalogTracker catalogTracker,
HRegionInfo regionInfo,
HServerInfo serverInfo)
Updates the location of the specified region in META to be the specified server hostname and startcode. |
Uses of HServerInfo in org.apache.hadoop.hbase.ipc |
---|
Methods in org.apache.hadoop.hbase.ipc that return HServerInfo | |
---|---|
HServerInfo |
HRegionInterface.getHServerInfo()
Method used when a master is taking the place of another failed one. |
Methods in org.apache.hadoop.hbase.ipc with parameters of type HServerInfo | |
---|---|
HMsg[] |
HMasterRegionInterface.regionServerReport(HServerInfo info,
HMsg[] msgs,
HRegionInfo[] mostLoadedRegions)
Called to renew lease, tell master what the region server is doing and to receive new instructions from the master |
org.apache.hadoop.io.MapWritable |
HMasterRegionInterface.regionServerStartup(HServerInfo info,
long serverCurrentTime)
Called when a region server first starts |
Uses of HServerInfo in org.apache.hadoop.hbase.master |
---|
Methods in org.apache.hadoop.hbase.master that return HServerInfo | |
---|---|
HServerInfo |
LoadBalancer.RegionPlan.getDestination()
Get the destination server for the plan for this region. |
HServerInfo |
ServerManager.getHServerInfo(HServerAddress hsa)
|
HServerInfo |
ServerManager.getServerInfo(String name)
|
HServerInfo |
LoadBalancer.RegionPlan.getSource()
Get the source server for the plan for this region. |
static HServerInfo |
LoadBalancer.randomAssignment(List<HServerInfo> servers)
|
Methods in org.apache.hadoop.hbase.master that return types with arguments of type HServerInfo | |
---|---|
Map<String,HServerInfo> |
ServerManager.getOnlineServers()
|
List<HServerInfo> |
ServerManager.getOnlineServersList()
|
static Map<HRegionInfo,HServerInfo> |
LoadBalancer.immediateAssignment(List<HRegionInfo> regions,
List<HServerInfo> servers)
Generates an immediate assignment plan to be used by a new master for regions in transition that do not have an already known destination. |
static Map<HServerInfo,List<HRegionInfo>> |
LoadBalancer.retainAssignment(Map<HRegionInfo,HServerAddress> regions,
List<HServerInfo> servers)
Generates a bulk assignment startup plan, attempting to reuse the existing assignment information from META, but adjusting for the specified list of available/online servers available for assignment. |
static Map<HServerInfo,List<HRegionInfo>> |
LoadBalancer.roundRobinAssignment(List<HRegionInfo> regions,
List<HServerInfo> servers)
Generates a bulk assignment plan to be used on cluster startup using a simple round-robin assignment. |
Methods in org.apache.hadoop.hbase.master with parameters of type HServerInfo | |
---|---|
protected HMsg[] |
HMaster.adornRegionServerAnswer(HServerInfo hsi,
HMsg[] msgs)
Override if you'd add messages to return to regionserver hsi
or to send an exception. |
void |
ServerManager.expireServer(HServerInfo hsi)
|
void |
AssignmentManager.handleSplitReport(HServerInfo hsi,
HRegionInfo parent,
HRegionInfo a,
HRegionInfo b)
Update inmemory structures. |
List<AssignmentManager.RegionState> |
AssignmentManager.processServerShutdown(HServerInfo hsi)
Process shutdown server removing any assignments. |
void |
AssignmentManager.regionOnline(HRegionInfo regionInfo,
HServerInfo serverInfo)
Marks the region as online. |
HMsg[] |
HMaster.regionServerReport(HServerInfo serverInfo,
HMsg[] msgs,
HRegionInfo[] mostLoadedRegions)
|
org.apache.hadoop.io.MapWritable |
HMaster.regionServerStartup(HServerInfo serverInfo,
long serverCurrentTime)
|
boolean |
ServerManager.sendRegionClose(HServerInfo server,
HRegionInfo region)
Sends an CLOSE RPC to the specified server to close the specified region. |
void |
ServerManager.sendRegionOpen(HServerInfo server,
HRegionInfo region)
Sends an OPEN RPC to the specified server to open the specified region. |
void |
ServerManager.sendRegionOpen(HServerInfo server,
List<HRegionInfo> regions)
Sends an OPEN RPC to the specified server to open the specified region. |
void |
LoadBalancer.RegionPlan.setDestination(HServerInfo dest)
Set the destination server for the plan for this region. |
Method parameters in org.apache.hadoop.hbase.master with type arguments of type HServerInfo | |
---|---|
List<LoadBalancer.RegionPlan> |
LoadBalancer.balanceCluster(Map<HServerInfo,List<HRegionInfo>> clusterState)
Generate a global load balancing plan according to the specified map of server information to the most loaded regions of each server. |
static Map<HRegionInfo,HServerInfo> |
LoadBalancer.immediateAssignment(List<HRegionInfo> regions,
List<HServerInfo> servers)
Generates an immediate assignment plan to be used by a new master for regions in transition that do not have an already known destination. |
static HServerInfo |
LoadBalancer.randomAssignment(List<HServerInfo> servers)
|
static Map<HServerInfo,List<HRegionInfo>> |
LoadBalancer.retainAssignment(Map<HRegionInfo,HServerAddress> regions,
List<HServerInfo> servers)
Generates a bulk assignment startup plan, attempting to reuse the existing assignment information from META, but adjusting for the specified list of available/online servers available for assignment. |
static Map<HServerInfo,List<HRegionInfo>> |
LoadBalancer.roundRobinAssignment(List<HRegionInfo> regions,
List<HServerInfo> servers)
Generates a bulk assignment plan to be used on cluster startup using a simple round-robin assignment. |
Constructors in org.apache.hadoop.hbase.master with parameters of type HServerInfo | |
---|---|
LoadBalancer.RegionPlan(HRegionInfo hri,
HServerInfo source,
HServerInfo dest)
Instantiate a plan for a region move, moving the specified region from the specified source server to the specified destination server. |
Uses of HServerInfo in org.apache.hadoop.hbase.master.handler |
---|
Constructors in org.apache.hadoop.hbase.master.handler with parameters of type HServerInfo | |
---|---|
MetaServerShutdownHandler(Server server,
MasterServices services,
DeadServer deadServers,
HServerInfo hsi,
boolean carryingRoot,
boolean carryingMeta)
|
|
OpenedRegionHandler(Server server,
AssignmentManager assignmentManager,
HRegionInfo regionInfo,
HServerInfo serverInfo)
|
|
ServerShutdownHandler(Server server,
MasterServices services,
DeadServer deadServers,
HServerInfo hsi)
|
Uses of HServerInfo in org.apache.hadoop.hbase.regionserver |
---|
Fields in org.apache.hadoop.hbase.regionserver declared as HServerInfo | |
---|---|
protected HServerInfo |
HRegionServer.serverInfo
|
Methods in org.apache.hadoop.hbase.regionserver that return HServerInfo | |
---|---|
HServerInfo |
HRegionServer.getHServerInfo()
Method used when a master is taking the place of another failed one. |
HServerInfo |
RegionServerServices.getServerInfo()
Return data structure that has Server address and startcode. |
HServerInfo |
HRegionServer.getServerInfo()
|
Uses of HServerInfo in org.apache.hadoop.hbase.regionserver.wal |
---|
Methods in org.apache.hadoop.hbase.regionserver.wal with parameters of type HServerInfo | |
---|---|
static String |
HLog.getHLogDirectoryName(HServerInfo info)
Construct the HLog directory name |
Uses of HServerInfo in org.apache.hadoop.hbase.zookeeper |
---|
Methods in org.apache.hadoop.hbase.zookeeper with parameters of type HServerInfo | |
---|---|
static String |
ZKUtil.getNodeName(HServerInfo serverInfo)
Get the unique node-name for the specified regionserver. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |