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

Simplify use of IndexedTable outside Java API

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.0
    • Fix Version/s: 0.90.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Simplify use of TableIndexed when your secondary keys are guaranteed to be unique. Ability to create an index from the Hbase shell.
    • Tags:
      transactional, tableindexed, shell

      Description

      I'm using TableIndexed to manage a secondary key that I use for lookups from Thrift. I think this is a potentially common use case.

      • Add a UniqueIndexKeyGenerator to use the exact value of the indexed column in the primary table as the row key in the index table.
      • Add support for creating indexes to the Hbase shell

      I'm attaching the UniqueIndexKeyGenerator patch. I will add a test and also add the changes to the shell soon.

        Attachments

        1. hbase1885.patch
          9 kB
          Kevin Peterson
        2. hbase1885.patch
          4 kB
          Kevin Peterson

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kevinpet Kevin Peterson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: