hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BJORN A A OLSEN (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-16299) Update REST API scanner with ability to do reverse scan
Date Thu, 28 Jul 2016 10:37:20 GMT
BJORN A A OLSEN created HBASE-16299:

             Summary: 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 A A 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:
(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 should 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

View raw message