From 50d930113672697eff6f3b9f35b6bbd35cfd6262 Mon Sep 17 00:00:00 2001 From: Josh Elser Date: Tue, 25 Jul 2017 11:56:03 -0400 Subject: [PATCH] HBASE-18023 Update row threshold warning from 1k to 5k (addendum) --- hbase-common/src/main/resources/hbase-default.xml | 2 +- .../org/apache/hadoop/hbase/regionserver/RSRpcServices.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml index 1f8c2bf2443..1035c182dc0 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -1769,7 +1769,7 @@ possible configurations would overwhelm and obscure the important. hbase.rpc.rows.warning.threshold - 1000 + 5000 Number of rows in a batch operation above which a warning will be logged. diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java index d84c5e23f96..e881882ab36 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java @@ -258,7 +258,7 @@ public class RSRpcServices implements HBaseRPCErrorHandler, /** * Default value of {@link RSRpcServices#BATCH_ROWS_THRESHOLD_NAME} */ - static final int BATCH_ROWS_THRESHOLD_DEFAULT = 1000; + static final int BATCH_ROWS_THRESHOLD_DEFAULT = 5000; // Request counter. (Includes requests that are not serviced by regions.) final LongAdder requestCount = new LongAdder();