hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject [3/4] hbase git commit: Revert "HBASE-12976 Set default value for hbase.client.scanner.max.result.size."
Date Thu, 19 Mar 2015 21:23:21 GMT
Revert "HBASE-12976 Set default value for hbase.client.scanner.max.result.size."

This reverts commit 2583e8de574ae4b002c5dbc80b0da666b42dd699.


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

Branch: refs/heads/branch-1.0
Commit: be95f5329ae4603e727fb1ac5102edb1e7d2d3a2
Parents: bc029b9
Author: Lars Hofhansl <larsh@apache.org>
Authored: Thu Mar 19 14:19:41 2015 -0700
Committer: Lars Hofhansl <larsh@apache.org>
Committed: Thu Mar 19 14:21:07 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/HConstants.java |  4 ++--
 hbase-common/src/main/resources/hbase-default.xml         | 10 ----------
 2 files changed, 2 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/be95f532/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
index 4411343..a4e6784 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
@@ -607,9 +607,9 @@ public final class HConstants {
    * Note that when a single row is larger than this limit the row is still
    * returned completely.
    *
-   * The default value is 2MB.
+   * The default value is unlimited.
    */
-  public static final long DEFAULT_HBASE_CLIENT_SCANNER_MAX_RESULT_SIZE = 2 * 1024 * 1024;
+  public static final long DEFAULT_HBASE_CLIENT_SCANNER_MAX_RESULT_SIZE = Long.MAX_VALUE;
 
   /**
    * Parameter name for client pause value, used mostly as value to wait

http://git-wip-us.apache.org/repos/asf/hbase/blob/be95f532/hbase-common/src/main/resources/hbase-default.xml
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml
index 6c7fa12..ad28368 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -1157,16 +1157,6 @@ possible configurations would overwhelm and obscure the important.
   </property>
 
   <property>
-    <name>hbase.client.scanner.max.result.size</name>
-    <value>2097152</value>
-    <description>Maximum number of bytes returned when calling a scanner's next method.
-    Note that when a single row is larger than this limit the row is still returned completely.
-    The default value is 2MB, which is good for 1ge networks.
-    With faster and/or high latency networks this value should be increased.
-    </description>
-  </property>
-
-  <property>
     <name>hbase.status.published</name>
     <value>false</value>
     <description>


Mime
View raw message