Class TestRegionLocations

java.lang.Object
org.apache.hadoop.hbase.TestRegionLocations

public class TestRegionLocations extends Object
  • Field Details

    • CLASS_RULE

      public static final HBaseClassTestRule 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

  • Method Details

    • testSizeMethods

      public void testSizeMethods()
    • hri

      private org.apache.hadoop.hbase.HRegionInfo hri(int replicaId)
    • hri

      private org.apache.hadoop.hbase.HRegionInfo hri(long regionId, int replicaId)
    • 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

      public void testRemoveByServer()
    • testRemove

      public void testRemove()
    • testUpdateLocation

      public void testUpdateLocation()
    • testMergeLocations

      public void testMergeLocations()
    • testMergeLocationsWithDifferentRegionId

    • testUpdateLocationWithDifferentRegionId

    • testConstructWithNullElements