Uses of Class
org.apache.hadoop.hbase.RegionLocations
-
Uses of org.apache.hadoop.hbase.RegionLocations in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.RegionLocations
MetaTableAccessor.getRegionLocations
(org.apache.hadoop.hbase.client.Result r) Returns an HRegionLocationList extracted from the result.org.apache.hadoop.hbase.RegionLocations
RegionLocations.mergeLocations
(org.apache.hadoop.hbase.RegionLocations other) Merges this RegionLocations list with the given list assuming same range, and keeping the most up to date version of the HRegionLocation entries from either list according to seqNum.org.apache.hadoop.hbase.RegionLocations
RegionLocations.remove
(int replicaId) Removes location of the given replicaId from the listorg.apache.hadoop.hbase.RegionLocations
RegionLocations.remove
(org.apache.hadoop.hbase.HRegionLocation location) Removes the given location from the listorg.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.org.apache.hadoop.hbase.RegionLocations
RegionLocations.removeElementsWithNullLocation()
Set the element to null if its getServerName method returns null.org.apache.hadoop.hbase.RegionLocations
RegionLocations.updateLocation
(org.apache.hadoop.hbase.HRegionLocation location, boolean checkForEquals, boolean force) Updates the location with new only if the new location has a higher seqNum than the old one or force is true.Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.RegionLocations
RegionLocations.mergeLocations
(org.apache.hadoop.hbase.RegionLocations other) Merges this RegionLocations list with the given list assuming same range, and keeping the most up to date version of the HRegionLocation entries from either list according to seqNum. -
Uses of org.apache.hadoop.hbase.RegionLocations in org.apache.hadoop.hbase.client
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.RegionLocations
MetaCache.getCachedLocation
(org.apache.hadoop.hbase.TableName tableName, byte[] row) Search the cache for a location that fits our table and row key.static org.apache.hadoop.hbase.RegionLocations
RegionAdminServiceCallable.getRegionLocations
(org.apache.hadoop.hbase.client.ClusterConnection connection, org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, int replicaId) protected final org.apache.hadoop.hbase.RegionLocations
ScannerCallable.getRegionLocationsForPrepare
(byte[] row) Fetch region locations for the row.org.apache.hadoop.hbase.RegionLocations
ClusterConnection.locateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry) Gets the locations of the region in the specified table, tableName, for a given row.org.apache.hadoop.hbase.RegionLocations
ClusterConnection.locateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry, int replicaId) Gets the locations of the region in the specified table, tableName, for a given row.org.apache.hadoop.hbase.RegionLocations
ConnectionImplementation.locateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry) org.apache.hadoop.hbase.RegionLocations
ConnectionImplementation.locateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry, int replicaId) org.apache.hadoop.hbase.RegionLocations
ClusterConnection.relocateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row, int replicaId) Find the location of the region of tableName that row lives in, ignoring any value that might be in the cache.org.apache.hadoop.hbase.RegionLocations
ConnectionImplementation.relocateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row, int replicaId) Modifier and TypeMethodDescriptionCompletableFuture<org.apache.hadoop.hbase.RegionLocations>
ConnectionRegistry.getMetaRegionLocations()
Get the location of meta region(s).CompletableFuture<org.apache.hadoop.hbase.RegionLocations>
RegionServerRegistry.getMetaRegionLocations()
Modifier and TypeMethodDescriptionvoid
ClusterConnection.cacheLocation
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.RegionLocations location) void
ConnectionImplementation.cacheLocation
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.RegionLocations location) Put a newly discovered HRegionLocation into the cache.void
MetaCache.cacheLocation
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.RegionLocations locations) Put a newly discovered HRegionLocation into the cache.protected final org.apache.hadoop.hbase.HRegionLocation
ScannerCallable.getLocationForReplica
(org.apache.hadoop.hbase.RegionLocations locs)