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

REST Multi Gets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.92.0
    • REST
    • None
    • Reviewed

    Description

      Users currently using the REST interface do not have a way to ask for multiple rows within one http call.

      For my use case I want to get a set of rows that I know the key before hand. It's a very small percentage of my table and may not be contiguous so the scanner is not the right use-case for me. Currently the http overhead is the largest percentage of my processing time.

      Ideally I'd like to create a patch that would act very similar to:

      GET /table/?row[]="rowkey"&row[]="rowkey_two"

      HTTP/1.1 200 OK
      {
      "Rows":[ << Array of results equivalent to a single get >>]
      }

      This should be pretty backward compatible. As it's just making the row key into a query string.

      Attachments

        1. HBASE-3541_5.patch
          9 kB
          Elliott Neil Clark
        2. HBASE-3541_3.patch
          9 kB
          Elliott Neil Clark
        3. HBASE-3541_1.patch
          9 kB
          Elliott Neil Clark
        4. multi_get_0.patch
          10 kB
          Elliott Neil Clark

        Issue Links

          Activity

            People

              eclark Elliott Neil Clark
              eclark Elliott Neil Clark
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 96h
                  96h
                  Remaining:
                  Remaining Estimate - 96h
                  96h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified