Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14676

HBaseTestCase clean out: Purge Incommon Interface and Table and Region implementations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      As part of the hollowing out of the old HBaseTestCase in preparation for removal, this patch purges the old Incommon trick that made it so you could pass an Interface to a method to do loading or testing and the implementation could be an HTable or a Region. Instead, replace it with a RegionTable, a Regoin that has the Table Interface as a decoration so you can use same loading code and same test both on top of the Region or on other side of network via HTable.

      Attachments

        1. RegionAdmin.java
          24 kB
          Michael Stack
        2. 14676.patch
          57 kB
          Michael Stack
        3. 14676v2.txt
          61 kB
          Michael Stack
        4. 14676v3.txt
          61 kB
          Michael Stack
        5. 14676v4.txt
          61 kB
          Michael Stack
        6. 14676v4.txt
          61 kB
          Michael Stack
        7. connection_for_region_as_table.patch
          6 kB
          Michael Stack

        Activity

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: