You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by li...@apache.org on 2014/05/14 02:33:25 UTC

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

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());
   }
 
   /**