Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.92.0
    • Component/s: REST
    • Labels:
      None
    • Hadoop Flags:
      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 Clark
        2. HBASE-3541_3.patch
          9 kB
          Elliott Clark
        3. HBASE-3541_1.patch
          9 kB
          Elliott Clark
        4. multi_get_0.patch
          10 kB
          Elliott Clark

          Issue Links

            Activity

              People

              • Assignee:
                eclark Elliott Clark
                Reporter:
                eclark Elliott 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