hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1082717 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java
Date Thu, 17 Mar 2011 21:59:08 GMT
Author: apurtell
Date: Thu Mar 17 21:59:08 2011
New Revision: 1082717

URL: http://svn.apache.org/viewvc?rev=1082717&view=rev
Log:
HBASE-3662  REST server does not respect client supplied max versions when creating scanner

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1082717&r1=1082716&r2=1082717&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Thu Mar 17 21:59:08 2011
@@ -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)  

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java?rev=1082717&r1=1082716&r2=1082717&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java Thu Mar 17
21:59:08 2011
@@ -78,7 +78,8 @@ public class ScannerResource extends Res
     }
     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();



Mime
View raw message