HBASE-24077 When encounter RowTooBigException, log the row info. (#1379)
Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Pankaj <pankajkumar@apache.org> Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
This commit is contained in:
parent
15b94cc306
commit
62718cdb28
|
@ -635,8 +635,13 @@ public class StoreScanner extends NonReversedNonLazyKeyValueScanner
|
|||
scannerContext.incrementBatchProgress(1);
|
||||
|
||||
if (matcher.isUserScan() && totalBytesRead > maxRowSize) {
|
||||
throw new RowTooBigException(
|
||||
"Max row size allowed: " + maxRowSize + ", but the row is bigger than that.");
|
||||
String message = "Max row size allowed: " + maxRowSize
|
||||
+ ", but the row is bigger than that, the row info: " + CellUtil
|
||||
.toString(cell, false) + ", already have process row cells = " + outResult.size()
|
||||
+ ", it belong to region = " + store.getHRegion().getRegionInfo()
|
||||
.getRegionNameAsString();
|
||||
LOG.warn(message);
|
||||
throw new RowTooBigException(message);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue