hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject hbase git commit: HBASE-16970 Clarify misleading Scan.java comment about caching
Date Tue, 01 Nov 2016 09:54:40 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 26cbe4433 -> 681b7da19


HBASE-16970 Clarify misleading Scan.java comment about caching

Signed-off-by: Yu Li <liyu@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/681b7da1
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/681b7da1
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/681b7da1

Branch: refs/heads/master
Commit: 681b7da19698ab31aa7ed9dfa0754803c23da53a
Parents: 26cbe44
Author: Jim Kleckner <jim@cloudphysics.com>
Authored: Tue Nov 1 17:31:23 2016 +0800
Committer: Yu Li <liyu@apache.org>
Committed: Tue Nov 1 17:33:05 2016 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/client/Scan.java      | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/681b7da1/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
index 4f2728b..b0d361c 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
@@ -127,8 +127,9 @@ public class Scan extends Query {
   // scan.setAttribute(Scan.SCAN_ATTRIBUTES_TABLE_NAME, Bytes.toBytes(tableName))
   static public final String SCAN_ATTRIBUTES_TABLE_NAME = "scan.attributes.table.name";
 
-  /*
-   * -1 means no caching
+  /**
+   * -1 means no caching specified and the value of {@link HConstants#HBASE_CLIENT_SCANNER_CACHING}
+   * (default to {@link HConstants#DEFAULT_HBASE_CLIENT_SCANNER_CACHING}) will be used
    */
   private int caching = -1;
   private long maxResultSize = -1;


Mime
View raw message