Skip to content

Hbase 29104 support partial rows in snapshot scans - #8685

Open
Sigma-Ma wants to merge 2 commits into
apache:masterfrom
Sigma-Ma:HBASE-29104-support-partial-rows-in-snapshot-scans
Open

Sigma-Ma wants to merge 2 commits into
apache:masterfrom
Sigma-Ma:HBASE-29104-support-partial-rows-in-snapshot-scans

Conversation

@Sigma-Ma

Copy link
Copy Markdown
Contributor

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?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant