HBASE-25597 Add row info in Exception when cell size exceeds maxCellSize (#2976)
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
df2daf9e1e
commit
aa6c013a01
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue