HBASE-3662 REST server does not respect client supplied max versions when creating scanner

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1082717 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2011-03-17 21:59:08 +00:00
parent 1e07b8a396
commit 5997bc3ca5
2 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,8 @@ Release 0.91.0 - Unreleased
HBASE-3515 [replication] ReplicationSource can miss a log after RS comes
out of GC
HBASE-3665 tighten assertions for testBloomFilterSize
HBASE-3662 REST server does not respect client supplied max versions when
creating scanner
IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -78,7 +78,8 @@ public class ScannerResource extends ResourceBase {
}
byte[] endRow = model.hasEndRow() ? model.getEndRow() : null;
RowSpec spec = new RowSpec(model.getStartRow(), endRow,
model.getColumns(), model.getStartTime(), model.getEndTime(), 1);
model.getColumns(), model.getStartTime(), model.getEndTime(),
model.getMaxVersions());
try {
Filter filter = ScannerResultGenerator.buildFilterFromModel(model);
String tableName = tableResource.getName();