Revert "HBASE-12976 Set default value for hbase.client.scanner.max.result.size."

This reverts commit 2583e8de57.
This commit is contained in:
Lars Hofhansl 2015-03-19 14:19:41 -07:00
parent b728e66708
commit 64589abe99
2 changed files with 2 additions and 12 deletions

View File

@ -624,9 +624,9 @@ public final class HConstants {
* Note that when a single row is larger than this limit the row is still * Note that when a single row is larger than this limit the row is still
* returned completely. * 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 * Parameter name for client pause value, used mostly as value to wait

View File

@ -1289,16 +1289,6 @@ possible configurations would overwhelm and obscure the important.
</description> </description>
</property> </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> <property>
<name>hbase.status.published</name> <name>hbase.status.published</name>
<value>false</value> <value>false</value>