You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2015/03/19 22:23:20 UTC

[2/4] hbase git commit: Revert "HBASE-12976 Set default value for hbase.client.scanner.max.result.size."

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

Branch: refs/heads/branch-1
Commit: aad299fabacdb1cb47573fa9068967aea0a6e450
Parents: f6095ad
Author: Lars Hofhansl <la...@apache.org>
Authored: Thu Mar 19 14:19:41 2015 -0700
Committer: Lars Hofhansl <la...@apache.org>
Committed: Thu Mar 19 14:20:46 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/aad299fa/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 4429d81..2658868 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/aad299fa/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 df1894b..e72484a 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -1179,16 +1179,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>