[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-25 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-16299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-25 Thread Hudson (JIRA)

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

Hudson commented on HBASE-16299:


FAILURE: Integrated in Jenkins build HBase-0.98-matrix #392 (See 
[https://builds.apache.org/job/HBase-0.98-matrix/392/])
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/TableResource.java
* (edit) hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/Constants.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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-17 Thread Minwoo Kang (JIRA)

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

Minwoo Kang commented on HBASE-16299:
-

I appreciate your comment. I closed the RB requests.

> 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
>
> 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-08 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan commented on HBASE-16299:


[~minwoo.kang]
Since the patches are committed can you close the RB requests that you had 
opened.

> 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
>
> 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-08 Thread Hudson (JIRA)

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

Hudson commented on HBASE-16299:


FAILURE: Integrated in HBase-1.4 #337 (See 
[https://builds.apache.org/job/HBase-1.4/337/])
HBASE-16299 Update REST API scanner with ability to do reverse scan 
(ramkrishna: rev 65784814476ecdc0c2f86c6e346a5799bdb392b0)
* hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/Constants.java
* hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java
* 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
>
> 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-08 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan commented on HBASE-16299:


I have pushed this to branch-1. Since this is an improvement if needed in 
branch-1.3 then we can backport. For now this should be fine. Thanks for the 
patch [~minwoo.kang]

> 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
>
> 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-07 Thread Minwoo Kang (JIRA)

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

Minwoo Kang commented on HBASE-16299:
-

Hi, I create a patch for branch-1.3.
Here is [Review board](https://reviews.apache.org/r/50883/).

> 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
> 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-04 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan commented on HBASE-16299:


[~minwoo.kang]
Can  you prepare a patch for branch-1.3?  This patch does not apply cleanly. 
Once we commit to 1.3 we can resolve this issue.

> 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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-04 Thread Hudson (JIRA)

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

Hudson commented on HBASE-16299:


FAILURE: Integrated in HBase-Trunk_matrix #1352 (See 
[https://builds.apache.org/job/HBase-Trunk_matrix/1352/])
HBASE-16299 Update REST API scanner with ability to do reverse scan 
(ramkrishna: rev 6fdf3aa216d34f2f6fc1ffe7bfea94b8e4bc3f8a)
* hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/TestTableScan.java
* hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java
* hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/Constants.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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-04 Thread stack (JIRA)

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

stack commented on HBASE-16299:
---

I added [~minwoo.kang] to contributors and assigned him this issue [~ram_krish] 
BTW, you are an admin too... you get the persons userid and paste that into the 
box of contributors ignoring the warnings from JIRA while you are doing it 
(smile).

> 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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan commented on HBASE-16299:


Pushed to trunk. Thanks for the patch [~minwoo.kang].
I will see to that this issue is assigned to you. [~saint@gmail.com] - am 
not able to add him in People's list. Can you help this issue to be assigned to 
[~minwoo.kang]'s name?

[~mantonov]
Want this in 1.3?

> 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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-03 Thread Minwoo Kang (JIRA)

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

Minwoo Kang commented on HBASE-16299:
-

[~ram_krish] Yes, output is expected. Thanks for review.

> 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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan commented on HBASE-16299:


[~saint@gmail.com],[~stack]
Can you add [~minwoo.kang] as a user so that he can attach patches to this JIRA?

[~minwoo.kang]
I checked the RB patch now the test case is pretty good with assertion but is 
that asserting the expected output? If so +1 on patch. I can commit this in 
master and 1.3 ([~mantonov] - FYI.


> 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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-02 Thread Minwoo Kang (JIRA)

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

Minwoo Kang commented on HBASE-16299:
-

Stil I am not user in this project. So I couldn't upload patch file.
I add a UT in TestTableScan.
Here is [review board | https://reviews.apache.org/r/50690/].

> 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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-02 Thread Bjorn Olsen (JIRA)

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

Bjorn Olsen commented on HBASE-16299:
-

Thanks for the quick response, all.

> 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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-02 Thread Minwoo Kang (JIRA)

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

Minwoo Kang commented on HBASE-16299:
-

Thanks for review and advice.
I will add a UT in TestTableScan.

> 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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-02 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan commented on HBASE-16299:


Some comments from RB
{code}
The patch as such is fine.  I think you can add some tests based on the 
existing test cases. For eg,
TestTablescan#testSimpleFilter And you can see TestTableResource and 
TestScanModel to see if the param SCAN_REVERESED is taking into effect.
{code}

> 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
> Attachments: 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-02 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan commented on HBASE-16299:


You need to be added in the User's list to get assigned to this project. Let's 
see if I can add you to the project if not will see what can be done.

> 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=10=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)


[jira] [Commented] (HBASE-16299) Update REST API scanner with ability to do reverse scan

2016-08-02 Thread Minwoo Kang (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-16299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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=10=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)