Package org.apache.hadoop.hbase
Class TestRegionLocations
java.lang.Object
org.apache.hadoop.hbase.TestRegionLocations
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) org.apache.hadoop.hbase.HRegionInfo
(package private) org.apache.hadoop.hbase.HRegionInfo
(package private) org.apache.hadoop.hbase.HRegionInfo
(package private) org.apache.hadoop.hbase.HRegionInfo
(package private) long
(package private) long
(package private) org.apache.hadoop.hbase.ServerName
(package private) org.apache.hadoop.hbase.ServerName
(package private) org.apache.hadoop.hbase.ServerName
(package private) org.apache.hadoop.hbase.ServerName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.HRegionInfo
hri
(int replicaId) private org.apache.hadoop.hbase.HRegionInfo
hri
(long regionId, int replicaId) private org.apache.hadoop.hbase.HRegionLocation
hrl
(org.apache.hadoop.hbase.HRegionInfo hri, org.apache.hadoop.hbase.ServerName sn) private org.apache.hadoop.hbase.HRegionLocation
hrl
(org.apache.hadoop.hbase.HRegionInfo hri, org.apache.hadoop.hbase.ServerName sn, long seqNum) private org.apache.hadoop.hbase.RegionLocations
hrll
(org.apache.hadoop.hbase.HRegionLocation... locations) void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
sn0
org.apache.hadoop.hbase.ServerName sn0 -
sn1
org.apache.hadoop.hbase.ServerName sn1 -
sn2
org.apache.hadoop.hbase.ServerName sn2 -
sn3
org.apache.hadoop.hbase.ServerName sn3 -
info0
org.apache.hadoop.hbase.HRegionInfo info0 -
info1
org.apache.hadoop.hbase.HRegionInfo info1 -
info2
org.apache.hadoop.hbase.HRegionInfo info2 -
info9
org.apache.hadoop.hbase.HRegionInfo info9 -
regionId1
long regionId1 -
regionId2
long regionId2
-
-
Constructor Details
-
TestRegionLocations
public TestRegionLocations()
-
-
Method Details
-
testSizeMethods
-
hri
-
hri
-
hrl
private org.apache.hadoop.hbase.HRegionLocation hrl(org.apache.hadoop.hbase.HRegionInfo hri, org.apache.hadoop.hbase.ServerName sn) -
hrl
private org.apache.hadoop.hbase.HRegionLocation hrl(org.apache.hadoop.hbase.HRegionInfo hri, org.apache.hadoop.hbase.ServerName sn, long seqNum) -
hrll
private org.apache.hadoop.hbase.RegionLocations hrll(org.apache.hadoop.hbase.HRegionLocation... locations) -
testRemoveByServer
-
testRemove
-
testUpdateLocation
-
testMergeLocations
-
testMergeLocationsWithDifferentRegionId
-
testUpdateLocationWithDifferentRegionId
-
testConstructWithNullElements
-