wenbang commented on a change in pull request #1742:
URL: https://github.com/apache/hbase/pull/1742#discussion_r428545410
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
##########
@@ -977,12 +977,12 @@ private void checkCellSizeLimit(final HRegion r, final
Mutation m) throws IOExce
int size = PrivateCellUtil.estimatedSerializedSizeOf(cells.current());
if (size > r.maxCellSize) {
String msg = "Cell with size " + size + " exceeds limit of " +
r.maxCellSize + " bytes";
- if (LOG.isDebugEnabled()) {
- LOG.debug(msg);
- }
+ LOG.debug(msg);
throw new DoNotRetryIOException(msg);
}
}
+ } else {
+ LOG.debug("Cell size check is disabled because of maxCellSize is set to
{}.", r.maxCellSize);
Review comment:
Removed this log.
----------------------------------------------------------------
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]