You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2021/03/15 22:51:28 UTC
[hbase] branch branch-2.4 updated: HBASE-25597 Add row info in
Exception when cell size exceeds maxCellSize (#2976)
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new aa6c013 HBASE-25597 Add row info in Exception when cell size exceeds maxCellSize (#2976)
aa6c013 is described below
commit aa6c013a0181af98e65a4caf0fd8a182f0230768
Author: Baiqiang Zhao <zb...@gmail.com>
AuthorDate: Tue Mar 16 06:49:33 2021 +0800
HBASE-25597 Add row info in Exception when cell size exceeds maxCellSize (#2976)
Signed-off-by: stack <st...@apache.org>
---
.../main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 c87ec7b..59ca7c8 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
@@ -899,7 +899,8 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
while (cells.advance()) {
int size = PrivateCellUtil.estimatedSerializedSizeOf(cells.current());
if (size > r.maxCellSize) {
- String msg = "Cell with size " + size + " exceeds limit of " + r.maxCellSize + " bytes";
+ String msg = "Cell[" + cells.current() + "] with size " + size
+ + " exceeds limit of " + r.maxCellSize + " bytes";
LOG.debug(msg);
throw new DoNotRetryIOException(msg);
}