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

Simplify use of IndexedTable outside Java API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20.0
    • 0.90.0
    • None
    • None
    • Reviewed
    • Simplify use of TableIndexed when your secondary keys are guaranteed to be unique. Ability to create an index from the Hbase shell.
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: