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