hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1589309 - /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
Date Tue, 22 Apr 2014 23:36:57 GMT
Author: apurtell
Date: Tue Apr 22 23:36:57 2014
New Revision: 1589309

URL: http://svn.apache.org/r1589309
Log:
HBASE-10884 [REST] Do not disable block caching when scanning

Modified:
    hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java

Modified: hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java?rev=1589309&r1=1589308&r2=1589309&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
(original)
+++ hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ScannerResultGenerator.java
Tue Apr 22 23:36:57 2014
@@ -91,12 +91,10 @@ public class ScannerResultGenerator exte
       if (filter != null) {
         scan.setFilter(filter);
       }
-      // always disable block caching on the cluster when scanning
-      scan.setCacheBlocks(false);
       if (caching > 0 ) {
         scan.setCaching(caching);
       }
-      if(rowspec.hasLabels()) {
+      if (rowspec.hasLabels()) {
         scan.setAuthorizations(new Authorizations(rowspec.getLabels()));
       }
       scanner = table.getScanner(scan);



Mime
View raw message