hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3541) REST Multi Gets
Date Thu, 17 Feb 2011 01:25:24 GMT

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

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

I was thinking of something more simple than that.  basically I want a rest interface to HTable.get(List<Get>
gets).
Wouldn't a Regex would require a scan over all row keys.  Something that would be much slower
than a multiget.

> 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
>   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

        

Mime
View raw message