Sigma-Ma opened a new pull request, #8685:
URL: https://github.com/apache/hbase/pull/8685

   JIRA: https://issues.apache.org/jira/browse/HBASE-29104.
   
   ### What changes were proposed in this pull request?
   
   Honor Scan's maxResultSize when partial results are enabled for snapshot 
scans.
   
   Preserve partial-result flags, count rows correctly for scan limits and 
metrics, and retain partial flags when copying Results in the mapred API.
   
   ### Why are the changes needed?
   
   Snapshot scans currently use a scanner context without size limits. Large 
rows can cause RowTooBigException, while increasing hbase.table.max.rowsize can 
increase mapper memory usage.
   
   ### How was this patch tested?
   
   ```bash
   mvn -B -pl hbase-mapreduce -am 
-Dtest=TestClientSideRegionScanner,TestResult,TestTableSnapshotInputFormatPartialResults
 -Dsurefire.firstPartForkCount=1 -Dsurefire.rerunFailingTestsCount=0 
-Dcheckstyle.skip -Dspotbugs.skip test
   
   mvn -B -pl hbase-client,hbase-server,hbase-mapreduce spotless:check


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to