ZhaoBQ commented on a change in pull request #2976:
URL: https://github.com/apache/hbase/pull/2976#discussion_r580948960
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
##########
@@ -902,7 +902,8 @@ private void checkCellSizeLimit(final HRegion r, final
Mutation m) throws IOExce
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[" + Bytes.toString(m.getRow()) + "] with size " +
size
+ + " exceeds limit of " + r.maxCellSize + " bytes";
LOG.debug(msg);
Review comment:
msg will be used in 'throw new DoNotRetryIOException(msg)', so it can
not use parameterized messages.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]