|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HRegionInfo | |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client | Provides HBase Client |
org.apache.hadoop.hbase.ipc | Tools to help define network clients and servers. |
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.wal | |
org.apache.hadoop.hbase.replication.regionserver | |
org.apache.hadoop.hbase.util |
Uses of HRegionInfo in org.apache.hadoop.hbase |
---|
Fields in org.apache.hadoop.hbase declared as HRegionInfo | |
---|---|
static HRegionInfo |
HRegionInfo.FIRST_META_REGIONINFO
HRegionInfo for first meta region |
static HRegionInfo |
HRegionInfo.ROOT_REGIONINFO
HRegionInfo for root region |
Methods in org.apache.hadoop.hbase that return HRegionInfo | |
---|---|
HRegionInfo |
HMsg.getDaughterA()
|
HRegionInfo |
HMsg.getDaughterB()
|
HRegionInfo |
HRegionLocation.getRegionInfo()
|
HRegionInfo |
HMsg.getRegionInfo()
|
Methods in org.apache.hadoop.hbase with parameters of type HRegionInfo | |
---|---|
int |
HRegionInfo.compareTo(HRegionInfo o)
|
Constructors in org.apache.hadoop.hbase with parameters of type HRegionInfo | |
---|---|
HMsg(HMsg.Type type,
HRegionInfo hri)
Construct a message with the specified message and HRegionInfo |
|
HMsg(HMsg.Type type,
HRegionInfo hri,
byte[] msg)
Construct a message with the specified message and HRegionInfo |
|
HMsg(HMsg.Type type,
HRegionInfo hri,
HRegionInfo daughterA,
HRegionInfo daughterB,
byte[] msg)
Construct a message with the specified message and HRegionInfo |
|
HRegionInfo(HRegionInfo other)
Costruct a copy of another HRegionInfo |
|
HRegionLocation(HRegionInfo regionInfo,
HServerAddress serverAddress)
Constructor |
Uses of HRegionInfo in org.apache.hadoop.hbase.client |
---|
Methods in org.apache.hadoop.hbase.client that return HRegionInfo | |
---|---|
HRegionInfo |
ScannerCallable.getHRegionInfo()
|
Methods in org.apache.hadoop.hbase.client that return types with arguments of type HRegionInfo | |
---|---|
Map<HRegionInfo,HServerAddress> |
HTable.deserializeRegionInfo(DataInput in)
Read from in and deserialize the regions information. |
Map<HRegionInfo,HServerAddress> |
HTable.getRegionsInfo()
Gets all the regions and their address for this table. |
Method parameters in org.apache.hadoop.hbase.client with type arguments of type HRegionInfo | |
---|---|
void |
HConnection.prewarmRegionCache(byte[] tableName,
Map<HRegionInfo,HServerAddress> regions)
Load the region map and warm up the global region cache for the table. |
void |
HTable.prewarmRegionCache(Map<HRegionInfo,HServerAddress> regionMap)
Save the passed region information and the table's regions cache. |
Uses of HRegionInfo in org.apache.hadoop.hbase.ipc |
---|
Methods in org.apache.hadoop.hbase.ipc that return HRegionInfo | |
---|---|
HRegionInfo |
HRegionInterface.getRegionInfo(byte[] regionName)
Get metainfo about an HRegion |
HRegionInfo[] |
HRegionInterface.getRegionsAssignment()
Method used when a master is taking the place of another failed one. |
Methods in org.apache.hadoop.hbase.ipc with parameters of type HRegionInfo | |
---|---|
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 |
Uses of HRegionInfo in org.apache.hadoop.hbase.master |
---|
Methods in org.apache.hadoop.hbase.master that return HRegionInfo | |
---|---|
HRegionInfo |
RegionManager.getMetaServerRegionInfo(String server)
Is this server assigned to transition a META table. |
HRegionInfo |
MetaRegion.getRegionInfo()
|
Methods in org.apache.hadoop.hbase.master that return types with arguments of type HRegionInfo | |
---|---|
Set<HRegionInfo> |
RegionManager.getMarkedToClose(String serverName)
Remove the map of region names to region infos waiting to be offlined for a given server |
Methods in org.apache.hadoop.hbase.master with parameters of type HRegionInfo | |
---|---|
void |
RegionManager.createRegion(HRegionInfo newRegion,
HRegionInterface server,
byte[] metaRegionName)
Create a new HRegion, put a row for it into META (or ROOT), and mark the new region unassigned so that it will get assigned to a region server. |
MetaRegion |
RegionManager.getFirstMetaRegionForRegion(HRegionInfo newRegion)
Search our map of online meta regions to find the first meta region that should contain a pointer to newRegion. |
boolean |
RegionManager.isUnassigned(HRegionInfo info)
Check if a region is on the unassigned list |
void |
ServerManager.processRegionClose(HRegionInfo region)
|
void |
ServerManager.processRegionOpen(HServerInfo serverInfo,
HRegionInfo region,
ArrayList<HMsg> returnMsgs)
|
HMsg[] |
HMaster.regionServerReport(HServerInfo serverInfo,
HMsg[] msgs,
HRegionInfo[] mostLoadedRegions)
|
void |
RegionManager.removeRegion(HRegionInfo info)
Remove a region from the region state map. |
void |
RegionManager.setClosing(String serverName,
HRegionInfo regionInfo,
boolean setOffline)
Mark a region as closing |
void |
RegionManager.setUnassigned(HRegionInfo info,
boolean force)
Set a region to unassigned |
void |
RegionManager.startAction(byte[] regionName,
HRegionInfo info,
HServerAddress server,
HConstants.Modify op)
|
Constructors in org.apache.hadoop.hbase.master with parameters of type HRegionInfo | |
---|---|
ProcessRegionClose(HMaster master,
HRegionInfo regionInfo,
boolean offlineRegion,
boolean reassignRegion)
|
|
ProcessRegionOpen(HMaster master,
HServerInfo info,
HRegionInfo regionInfo)
|
Uses of HRegionInfo in org.apache.hadoop.hbase.regionserver |
---|
Methods in org.apache.hadoop.hbase.regionserver that return HRegionInfo | |
---|---|
protected HRegionInfo[] |
HRegionServer.getMostLoadedRegions()
Get the top N most loaded regions this server is serving so we can tell the master which regions it can reallocate if we're overloaded. |
HRegionInfo |
HRegion.getRegionInfo()
|
HRegionInfo |
HRegionServer.getRegionInfo(byte[] regionName)
|
HRegionInfo[] |
HRegionServer.getRegionsAssignment()
Method used when a master is taking the place of another failed one. |
Methods in org.apache.hadoop.hbase.regionserver that return types with arguments of type HRegionInfo | |
---|---|
SortedSet<HRegionInfo> |
HRegionServer.getSortedOnlineRegionInfos()
|
Methods in org.apache.hadoop.hbase.regionserver with parameters of type HRegionInfo | |
---|---|
void |
HRegionServer.addProcessingMessage(HRegionInfo hri)
Add a MSG_REPORT_PROCESS_OPEN to the outbound queue. |
static void |
HRegion.cleanRegionInMETA(HRegionInterface srvr,
byte[] metaRegionName,
HRegionInfo info)
Clean COL_SERVER and COL_STARTCODE for passed info in
.META. |
protected void |
HRegionServer.closeRegion(HRegionInfo hri,
boolean reportWhenCompleted)
|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf)
Convenience method creating new HRegions. |
static void |
HRegion.deleteRegion(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootdir,
HRegionInfo info)
Deletes all the files for a HRegion |
static org.apache.hadoop.fs.Path |
HRegion.getRegionDir(org.apache.hadoop.fs.Path rootdir,
HRegionInfo info)
Computes the Path of the HRegion |
protected HRegion |
HRegionServer.instantiateRegion(HRegionInfo regionInfo,
HLog wal)
|
static void |
HRegion.makeColumnFamilyDirs(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tabledir,
HRegionInfo hri,
byte[] colFamily)
Make the directories for a specific column family |
static HRegion |
HRegion.newHRegion(org.apache.hadoop.fs.Path tableDir,
HLog log,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
HRegionInfo regionInfo,
FlushRequester flushListener)
A utility method to create new instances of HRegion based on the HConstants.REGION_IMPL configuration property. |
static void |
HRegion.offlineRegionInMETA(HRegionInterface srvr,
byte[] metaRegionName,
HRegionInfo info)
Utility method used by HMaster marking regions offlined. |
static HRegion |
HRegion.openHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
HLog log,
org.apache.hadoop.conf.Configuration conf)
Convenience method to open a HRegion outside of an HRegionServer context. |
HRegion |
HRegionServer.removeFromOnlineRegions(HRegionInfo hri)
|
static boolean |
HRegion.rowIsInRange(HRegionInfo info,
byte[] row)
Determines if the specified row is within the row range specified by the specified HRegionInfo |
Constructors in org.apache.hadoop.hbase.regionserver with parameters of type HRegionInfo | |
---|---|
HRegion(org.apache.hadoop.fs.Path tableDir,
HLog log,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
HRegionInfo regionInfo,
FlushRequester flushListener)
HRegion constructor. |
Uses of HRegionInfo in org.apache.hadoop.hbase.regionserver.wal |
---|
Methods in org.apache.hadoop.hbase.regionserver.wal with parameters of type HRegionInfo | |
---|---|
void |
HLog.append(HRegionInfo info,
byte[] tableName,
WALEdit edits,
long now)
Append a set of edits to the log. |
void |
HLog.append(HRegionInfo regionInfo,
HLogKey logKey,
WALEdit logEdit)
Append an entry to the log. |
void |
HLog.append(HRegionInfo regionInfo,
WALEdit logEdit,
long now,
boolean isMetaRegion)
Append an entry to the log. |
protected void |
HLog.doWrite(HRegionInfo info,
HLogKey logKey,
WALEdit logEdit)
|
void |
LogEntryVisitor.visitLogEntryBeforeWrite(HRegionInfo info,
HLogKey logKey,
WALEdit logEdit)
|
Uses of HRegionInfo in org.apache.hadoop.hbase.replication.regionserver |
---|
Methods in org.apache.hadoop.hbase.replication.regionserver with parameters of type HRegionInfo | |
---|---|
void |
Replication.visitLogEntryBeforeWrite(HRegionInfo info,
HLogKey logKey,
WALEdit logEdit)
|
Uses of HRegionInfo in org.apache.hadoop.hbase.util |
---|
Methods in org.apache.hadoop.hbase.util that return HRegionInfo | |
---|---|
static HRegionInfo |
Writables.getHRegionInfo(byte[] bytes)
|
static HRegionInfo |
Writables.getHRegionInfoOrNull(byte[] bytes)
|
Methods in org.apache.hadoop.hbase.util that return types with arguments of type HRegionInfo | |
---|---|
List<HRegionInfo> |
MetaUtils.getMETARows(byte[] tableName)
|
Methods in org.apache.hadoop.hbase.util with parameters of type HRegionInfo | |
---|---|
HRegion |
MetaUtils.getMetaRegion(HRegionInfo metaInfo)
Open or return cached opened meta region |
boolean |
MetaUtils.ScannerListener.processRow(HRegionInfo info)
Callback so client of scanner can process row contents |
void |
MetaUtils.scanMetaRegion(HRegionInfo metaRegionInfo,
MetaUtils.ScannerListener listener)
Scans a meta region. |
void |
MetaUtils.updateMETARegionInfo(HRegion r,
HRegionInfo hri)
Update COL_REGIONINFO in meta region r with HRegionInfo hri |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |