You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gary Helmling (JIRA)" <ji...@apache.org> on 2011/03/17 18:26:29 UTC
[jira] Created: (HBASE-3662) REST server does not respect client
supplied max versions when creating scanner
REST server does not respect client supplied max versions when creating scanner
-------------------------------------------------------------------------------
Key: HBASE-3662
URL: https://issues.apache.org/jira/browse/HBASE-3662
Project: HBase
Issue Type: Bug
Components: rest
Affects Versions: 0.90.1
Reporter: Gary Helmling
Assignee: Andrew Purtell
In {{org.apache.hadoop.hbase.rest.ScannerResource.update()}}, where a new scanner is created on the server, we don't seem to respect the max versions value sent by the client:
{noformat}
RowSpec spec = new RowSpec(model.getStartRow(), endRow,
model.getColumns(), model.getStartTime(), model.getEndTime(), 1);
{noformat}
Looks to me like the last argument of "1" should instead be {{model.getMaxVersions()}}.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Work started: (HBASE-3662) REST server does not respect
client supplied max versions when creating scanner
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HBASE-3662 started by Andrew Purtell.
> REST server does not respect client supplied max versions when creating scanner
> -------------------------------------------------------------------------------
>
> Key: HBASE-3662
> URL: https://issues.apache.org/jira/browse/HBASE-3662
> Project: HBase
> Issue Type: Bug
> Components: rest
> Affects Versions: 0.90.1
> Reporter: Gary Helmling
> Assignee: Andrew Purtell
>
> In {{org.apache.hadoop.hbase.rest.ScannerResource.update()}}, where a new scanner is created on the server, we don't seem to respect the max versions value sent by the client:
> {noformat}
> RowSpec spec = new RowSpec(model.getStartRow(), endRow,
> model.getColumns(), model.getStartTime(), model.getEndTime(), 1);
> {noformat}
> Looks to me like the last argument of "1" should instead be {{model.getMaxVersions()}}.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HBASE-3662) REST server does not respect client
supplied max versions when creating scanner
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008266#comment-13008266 ]
Hudson commented on HBASE-3662:
-------------------------------
Integrated in HBase-TRUNK #1794 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1794/])
HBASE-3662 REST server does not respect client supplied max versions when creating scanner
> REST server does not respect client supplied max versions when creating scanner
> -------------------------------------------------------------------------------
>
> Key: HBASE-3662
> URL: https://issues.apache.org/jira/browse/HBASE-3662
> Project: HBase
> Issue Type: Bug
> Components: rest
> Affects Versions: 0.90.1
> Reporter: Gary Helmling
> Assignee: Andrew Purtell
> Fix For: 0.90.2, 0.92.0
>
>
> In {{org.apache.hadoop.hbase.rest.ScannerResource.update()}}, where a new scanner is created on the server, we don't seem to respect the max versions value sent by the client:
> {noformat}
> RowSpec spec = new RowSpec(model.getStartRow(), endRow,
> model.getColumns(), model.getStartTime(), model.getEndTime(), 1);
> {noformat}
> Looks to me like the last argument of "1" should instead be {{model.getMaxVersions()}}.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HBASE-3662) REST server does not respect client
supplied max versions when creating scanner
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008119#comment-13008119 ]
Andrew Purtell commented on HBASE-3662:
---------------------------------------
That seems it, good catch Gary. I'll commit a trivial patch to 0.90 and trunk after tests pass locally.
> REST server does not respect client supplied max versions when creating scanner
> -------------------------------------------------------------------------------
>
> Key: HBASE-3662
> URL: https://issues.apache.org/jira/browse/HBASE-3662
> Project: HBase
> Issue Type: Bug
> Components: rest
> Affects Versions: 0.90.1
> Reporter: Gary Helmling
> Assignee: Andrew Purtell
>
> In {{org.apache.hadoop.hbase.rest.ScannerResource.update()}}, where a new scanner is created on the server, we don't seem to respect the max versions value sent by the client:
> {noformat}
> RowSpec spec = new RowSpec(model.getStartRow(), endRow,
> model.getColumns(), model.getStartTime(), model.getEndTime(), 1);
> {noformat}
> Looks to me like the last argument of "1" should instead be {{model.getMaxVersions()}}.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HBASE-3662) REST server does not respect client
supplied max versions when creating scanner
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell resolved HBASE-3662.
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.92.0
0.90.2
Committed to 0.90 branch and trunk
> REST server does not respect client supplied max versions when creating scanner
> -------------------------------------------------------------------------------
>
> Key: HBASE-3662
> URL: https://issues.apache.org/jira/browse/HBASE-3662
> Project: HBase
> Issue Type: Bug
> Components: rest
> Affects Versions: 0.90.1
> Reporter: Gary Helmling
> Assignee: Andrew Purtell
> Fix For: 0.90.2, 0.92.0
>
>
> In {{org.apache.hadoop.hbase.rest.ScannerResource.update()}}, where a new scanner is created on the server, we don't seem to respect the max versions value sent by the client:
> {noformat}
> RowSpec spec = new RowSpec(model.getStartRow(), endRow,
> model.getColumns(), model.getStartTime(), model.getEndTime(), 1);
> {noformat}
> Looks to me like the last argument of "1" should instead be {{model.getMaxVersions()}}.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira