File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
java/org/apache/hadoop/hbase Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -624,9 +624,9 @@ public static enum Modify {
624624 * Note that when a single row is larger than this limit the row is still
625625 * returned completely.
626626 *
627- * The default value is unlimited .
627+ * The default value is 2MB .
628628 */
629- public static final long DEFAULT_HBASE_CLIENT_SCANNER_MAX_RESULT_SIZE = Long . MAX_VALUE ;
629+ public static final long DEFAULT_HBASE_CLIENT_SCANNER_MAX_RESULT_SIZE = 2 * 1024 * 1024 ;
630630
631631 /**
632632 * Parameter name for client pause value, used mostly as value to wait
Original file line number Diff line number Diff line change @@ -1289,6 +1289,16 @@ possible configurations would overwhelm and obscure the important.
12891289 </description >
12901290 </property >
12911291
1292+ <property >
1293+ <name >hbase.client.scanner.max.result.size</name >
1294+ <value >2097152</value >
1295+ <description >Maximum number of bytes returned when calling a scanner's next method.
1296+ Note that when a single row is larger than this limit the row is still returned completely.
1297+ The default value is 2MB, which is good for 1ge networks.
1298+ With faster and/or high latency networks this value should be increased.
1299+ </description >
1300+ </property >
1301+
12921302 <property >
12931303 <name >hbase.status.published</name >
12941304 <value >false</value >
You can’t perform that action at this time.
0 commit comments