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 Wed, 02 Nov 2016 07:31:45 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 84481361b -> 968fd4db9


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/968fd4db
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/968fd4db
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/968fd4db

Branch: refs/heads/branch-1.3
Commit: 968fd4db996f84a25263b276ab71b1c139874f39
Parents: 8448136
Author: Jim Kleckner <jim@cloudphysics.com>
Authored: Tue Nov 1 17:31:23 2016 +0800
Committer: Yu Li <liyu@apache.org>
Committed: Wed Nov 2 15:31:17 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/968fd4db/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 1d9b130..6fcfe05 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
@@ -135,8 +135,9 @@ public class Scan extends Query {
   @Deprecated
   public static final String HINT_LOOKAHEAD = "_look_ahead_";
 
-  /*
-   * -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