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

Add to MapFile a getClosest that returns key that comes just-before if key not present (Currently does just-after only).

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The list of regions that make up a table in hbase are effectively kept in a mapfile. Regions are identified by the first row contained by that region. To find the region that contains a particular row, we need to be able to search the mapfile of regions to find the closest matching row that falls just-before the searched-for key rather than the just-after that is current mapfile getClosest behavior.

      Attachments

        1. getclosestbefore-v3.patch
          8 kB
          Michael Stack
        2. getclosestbefore-v2.patch
          8 kB
          Michael Stack
        3. getclosestbefore.patch
          12 kB
          Michael Stack

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: