hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@apache.org
Subject svn commit: r1594427 - /hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java
Date Wed, 14 May 2014 00:33:25 GMT
Author: liyin
Date: Wed May 14 00:33:24 2014
New Revision: 1594427

URL: http://svn.apache.org/r1594427
Log:
[HBASE-9704] Set caching in TableServers.testTableOnlineState to the value set in the scan.

Author: manukranthk

Summary: TableServers.testTableOnlineState used to loop around looking for 1 row at a time
which is very sub optimal.

Test Plan: Simple change. Tested on calypso.

Reviewers: adela, daviddeng, rshroff

Reviewed By: rshroff

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D1315129

Task ID: 4253558

Modified:
    hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java

Modified: hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java?rev=1594427&r1=1594426&r2=1594427&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java
(original)
+++ hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java
Wed May 14 00:33:24 2014
@@ -57,6 +57,7 @@ public class ScannerCallable extends Ser
       Scan scan, HBaseRPCOptions options) {
     super(connection, tableName, scan.getStartRow(), options);
     this.scan = scan;
+    setCaching(scan.getCaching());
   }
 
   /**



Mime
View raw message