[ 
https://issues.apache.org/jira/browse/HBASE-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009453#comment-13009453
 ] 

Elliott Clark commented on HBASE-3541:
--------------------------------------

So the url would be /table/multiget?row=rk1&row=rk2&row=rk3

> REST Multi Gets
> ---------------
>
>                 Key: HBASE-3541
>                 URL: https://issues.apache.org/jira/browse/HBASE-3541
>             Project: HBase
>          Issue Type: Improvement
>          Components: rest
>            Reporter: Elliott Clark
>            Priority: Minor
>         Attachments: multi_get_0.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to