[ https://issues.apache.org/jira/browse/HBASE-16299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437272#comment-15437272 ]
Hudson commented on HBASE-16299: -------------------------------- FAILURE: Integrated in Jenkins build HBase-0.98-on-Hadoop-1.1 #1265 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/1265/]) HBASE-16299 Update REST API scanner with ability to do reverse scan (apurtell: rev 598762096540b1fcfb497687d014469f50f38f0c) * (edit) hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/Constants.java * (edit) hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java * (edit) hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/TestTableScan.java > 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 > Assignee: Minwoo Kang > Priority: Minor > Fix For: 2.0.0, 1.4.0, 0.98.22 > > Attachments: HBASE-16299.branch-1.3.001.patch, > HBASE-16299.master.001.patch > > > 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)