hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Minwoo Kang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan
Date Tue, 02 Aug 2016 07:35:20 GMT

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

Minwoo Kang commented on HBASE-16299:
-------------------------------------

I create a [review board|https://reviews.apache.org/r/50690/].
But I don't have a upload file authentication in HBase Jira project.
Hope to get some advice or guides for how to get authentication for a upload file.

> Update REST API scanner with ability to do reverse scan
> -------------------------------------------------------
>
>                 Key: HBASE-16299
>                 URL: https://issues.apache.org/jira/browse/HBASE-16299
>             Project: HBase
>          Issue Type: Improvement
>          Components: REST
>    Affects Versions: 1.1.2
>         Environment: Not environment specific (tested on HDP 2.4.2)
>            Reporter: Bjorn Olsen
>            Priority: Minor
>
> HBASE-4811 "Support reverse scan" was implemented from version 0.98.0, and is available
in the Java API.
> However this functionality is not yet exposed via REST.
> Example of expected API call:
> http://server:port/table/*?startrow=1&endrow=10&reversed=true"
> (Returns rows ordered by key in reverse, eg from 9*** to 1*** )
> Based on my (limited) understanding this should be simple to add.
> See org.apach.hadoop.hbase.rest.TableResource.getScanResource
> This function creates a Scan object with parameters passed in from the REST API (I assume).

> Adding this functionality may be as simple as adding a "reversed" parameter to the REST
API which passes down to where the Scan object is created in TableResource.getScanResource.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message