Apache9 commented on a change in pull request #2976:
URL: https://github.com/apache/hbase/pull/2976#discussion_r588798638



##########
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:
       Better use toStringBinary?




----------------------------------------------------------------
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]


Reply via email to