Skip to content

HBASE-29863 Adding support for capturing files read during scan#7823

Open
Himanshu-g81 wants to merge 2 commits intoapache:masterfrom
Himanshu-g81:HBASE-29863-master
Open

HBASE-29863 Adding support for capturing files read during scan#7823
Himanshu-g81 wants to merge 2 commits intoapache:masterfrom
Himanshu-g81:HBASE-29863-master

Conversation

@Himanshu-g81
Copy link
Contributor

No description provided.

@NihalJain NihalJain changed the title HBASE-29863 - Adding support for capturing files read during scan HBASE-29863 Adding support for capturing files read during scan Mar 3, 2026
@Himanshu-g81
Copy link
Contributor Author

The single test (org.apache.hadoop.hbase.TestAcidGuaranteesWithBasicPolicy.null) failing in Yetus JDK17 Hadoop3 Unit Check / large-wave-1 during setup itself is unrelated to this PR and likely a flapper.

Same test is failing (at same stage, i.e. cluster initialization) for other PRs as well, examples

  1. https://github.com/apache/hbase/actions/runs/22714543523?pr=7853
  2. https://github.com/apache/hbase/actions/runs/22710439538?pr=7848
  3. https://github.com/apache/hbase/actions/runs/22568170903?pr=7830

@Himanshu-g81 Himanshu-g81 marked this pull request as ready for review March 6, 2026 04:41
Copy link
Contributor

@gvprathyusha6 gvprathyusha6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits, otherwise LGTM

RegionInfoBuilder.newBuilder(TableName.valueOf(name.getMethodName())).build();
HRegionFileSystem regionFs = HRegionFileSystem.createRegionOnFileSystem(conf, fs,
new Path(testDir, hri.getTable().getNameAsString()), hri);
HFileContext meta = new HFileContextBuilder().withBlockSize(8 * 1024).build();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: variable name can be hfileContext

Assert.assertEquals("Should have 0 files before closing", 0, filesReadBeforeClose.size());

List<Cell> results = new ArrayList<>();
InternalScanner storeScanner = (InternalScanner) kvScanner;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use StoreScanner instead?

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