Skip to content

HBASE-29863 Adding support for capturing files read during scan (branch-2.6 backport)#8441

Open
mnpoonia wants to merge 2 commits into
apache:branch-2.6from
mnpoonia:apoonia/hbase-29863-branch-2.6
Open

HBASE-29863 Adding support for capturing files read during scan (branch-2.6 backport)#8441
mnpoonia wants to merge 2 commits into
apache:branch-2.6from
mnpoonia:apoonia/hbase-29863-branch-2.6

Conversation

@mnpoonia

Copy link
Copy Markdown
Contributor

Summary

Backport of HBASE-29863 to branch-2.6:

Adaptations for branch-2.6

  • ExtendedCellCell throughout scanner interfaces and test helpers (branch-2.6 removed ExtendedCell)
  • Migrated new test files and test methods from JUnit 4 to JUnit 5 (branch-2.6 enforces JUnit 5 via banned-imports)
  • Replaced TestName rule with TestInfo injection for method name access
  • Fixed JUnit 4-style assertion parameter order ("message", value) to JUnit 5 order (value, "message") in all new test code

Test plan

  • mvn install -DskipTests -Dhadoop.profile=3.0 compiles cleanly (verified locally)
  • TestKeyValueHeap#testGetFilesRead
  • TestStoreScanner#testGetFilesRead
  • TestSwitchToStreamRead#testGetFilesReadAfterStreamSwitch
  • TestClientSideRegionScanner#testGetFilesRead
  • TestHRegion#testRegionScannerGetFilesRead
  • TestHMobStore#testMobStoreScannerGetFilesRead
  • TestTableSnapshotInputFormat#testTableSnapshotRegionRecordReaderGetFilesRead

…he#7823)

(cherry picked from commit 3cce140)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
Reviewed-by: gvprathyusha6 <70918688+gvprathyusha6@users.noreply.github.com>
…dum) (apache#8177)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
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.

2 participants