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
0ef892b68a
commit
db2e6d8c63
|
@ -902,7 +902,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