You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/04/02 07:55:11 UTC
[GitHub] [hbase] binlijin commented on a change in pull request #1379:
HBASE-24077 When encounter RowTooBigException, log the row info.
binlijin commented on a change in pull request #1379: HBASE-24077 When encounter RowTooBigException, log the row info.
URL: https://github.com/apache/hbase/pull/1379#discussion_r402119721
##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java
##########
@@ -635,8 +635,12 @@ public boolean next(List<Cell> outResult, ScannerContext scannerContext) throws
scannerContext.incrementBatchProgress(1);
if (matcher.isUserScan() && totalBytesRead > maxRowSize) {
- throw new RowTooBigException(
- "Max row size allowed: " + maxRowSize + ", but the row is bigger than that.");
+ LOG.info("Max row size allowed: " + maxRowSize
+ + ", but the row is bigger than that, the row info: " + CellUtil
+ .toString(cell, true) + ", already have process row cells = " + outResult.size());
Review comment:
No, the exception is log only when RegionServer change log level to DEBUG/TRACE.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services