Skip to content

HBASE-30383 Migrate RegionServer block cache ownership to CacheAccessService - #8801

Merged
anmolnar merged 1 commit into
apache:HBASE-30018from
VladRodionov:HBASE-30383-regionserver-cache-access-service
Nov 4, 2026
Merged

anmolnar merged 1 commit into
apache:HBASE-30018from
VladRodionov:HBASE-30383-regionserver-cache-access-service

Conversation

@VladRodionov

@VladRodionov VladRodionov commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR continues the BlockCache pluggable architecture work by migrating the remaining HBase callers from the legacy BlockCache API to the new CacheAccessService / CacheEngine abstractions.

The goal is to remove direct dependencies on BlockCache from HBase-facing code while preserving the existing cache behavior and compatibility.

Changes

  • Migrated remaining RegionServer cache callers to CacheAccessService.
  • Updated cache-related RegionServer diagnostics and web UI code.
  • Preserved tier-specific L1/L2 diagnostics through CacheEngine where required.
  • Migrated cache-related tests to use CacheAccessService and CacheEngine.
  • Updated HBaseTestingUtil and HBaseTestingUtility test infrastructure to inject CacheAccessService instead of BlockCache.
  • Updated HeapMemoryManager integration to work with the appropriate resizable cache engine.
  • Migrated tests that previously accessed individual caches through BlockCache#getBlockCaches().
  • Updated fully-cached-file checks to use the aggregate CacheAccessService#getFullyCachedFiles() API.
  • Fixed testPrefetchWhenDataTieringEnabled to re-read the current fully-cached-files state while waiting for asynchronous prefetch completion. TopologyBackedCacheAccessService#getFullyCachedFiles() returns an aggregate snapshot rather than a live backing map.

This change intentionally keeps direct CacheEngine access limited to tests, diagnostics, topology-specific code, and places where per-tier behavior is required. Normal HBase read/write paths use CacheAccessService.

Compatibility

Legacy cache implementations can still participate through the existing BlockCache-to-CacheEngine adapters. This allows the migration to proceed incrementally without requiring all cache implementations to be converted at once.

Compatibility / release notes

This change is intended to preserve cache behavior, but it includes two externally visible compatibility changes that should be called out when the work is merged to master:

  • HBaseTestingUtility test helper methods that previously accepted BlockCache, including
    createRegionAndWAL(...) and createTestRegion(...), now accept CacheAccessService.
    HBaseTestingUtility is deprecated but is still @InterfaceAudience.Public, so this is a source
    compatibility change for downstream test code using these methods. I intentionally did not retain
    BlockCache compatibility overloads because the goal of the cache migration is to remove
    BlockCache dependencies completely.

  • blockCacheView.jsp now returns
    Content-Type: application/json;charset=UTF-8 instead of
    text/html;charset=UTF-8. The endpoint already returns JSON, so the new content type reflects the
    actual response format. This does not change the JSON payload, but clients that inspect the HTTP
    content type will observe the change.

Except for the compatibility points above, the changes in this PR are intended to preserve existing
user-visible cache behavior while migrating implementation and call sites to the pluggable cache
APIs.

Testing

  • mvn package -DskipTests
  • Cache-related unit tests in hbase-server
  • testPrefetchWhenDataTieringEnabled
  • Existing cache package tests

@VladRodionov
VladRodionov force-pushed the HBASE-30383-regionserver-cache-access-service branch from 0925dc4 to 44b6842 Compare October 26, 2026 22:53
@taklwu
taklwu requested a balanced review from Copilot October 28, 2026 16:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

3 open issues
What changed in this PR

Migrates remaining RegionServer-side cache usage away from the legacy BlockCache API to the newer CacheAccessService / CacheEngine abstractions, including tests and RegionServer web UI/metrics integration.

Changes:

  • Replaced RegionServer and test callers from BlockCache to CacheAccessService, using CacheEngine where tier-specific behavior is required.
  • Updated RegionServer diagnostics/metrics and JSP UI pages to operate on CacheAccessService / CacheEngine rather than BlockCache.
  • Adapted heap memory tuning and cache-related tests/utilities to inject CacheAccessService and to re-query snapshot APIs where needed.
File Description
hbase-testing-util/​src/​main/​java/​org/​apache/​hadoop/​hbase/​HBaseTestingUtility.java Updates testing utility APIs to accept/inject CacheAccessService instead of BlockCache.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestRecoveredEdits.java Migrates recovered edits test setup to create cache via CacheAccessServices.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestMultiColumnScanner.java Switches test region creation from BlockCacheFactory to CacheAccessServices.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestHeapMemoryManager.java Refactors heap memory manager tests to use ResizableCacheEngine + CAS topology.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestDataTieringManager.java Uses CAS APIs for fully-cached-file checks and cache stats in data tiering tests.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestCustomCellDataTieringManager.java Migrates custom cell tiering tests from BlockCache to CAS.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestClearRegionBlockCache.java Updates cache clearing tests to reference getCacheAccessService() instead of getBlockCache().
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestCacheOnWriteInSchema.java Creates CAS from configuration for cache-on-write tests.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestBytesReadServerSideScanMetrics.java Uses CacheEngine (LRU) via CAS for assertions and removes direct BlockCache access.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestBlocksScanned.java Migrates per-test cache setup/metrics from BlockCache to CAS.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​regionserver/​TestBlocksRead.java Switches cache wiring and cache-enabled checks to CAS/NoOp CAS.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​master/​MockRegionServer.java Implements new RegionServerServices cache accessor with NoOpCacheAccessService.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​TestScannerSelectionUsingTTL.java Updates cache creation/clearing to use CAS and LRU engine.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​TestScannerFromBucketCache.java Uses CAS from config when creating regions for bucket cache scanning tests.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​TestForceCacheImportantBlocks.java Uses CAS end-to-end for region creation and cache stats in force-cache tests.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​TestCacheOnWrite.java Simplifies passing cache into test regions to use CAS directly.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​TestCacheConfig.java Removes ConfigurationManager child-registration tests after CacheConfig observer changes.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​TestBlockEvictionOnRegionMovement.java Switches tier-specific eviction assertions to per-tier CacheEngine.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​client/​TestClientSideRegionScanner.java Updates client-side region scanner tests to retrieve BlockCache via CAS test factory.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​client/​TestBlockEvictionFromClient.java Migrates client eviction tests to CAS and cached-block iterable adapters.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​client/​TestAvoidCellReferencesIntoShippedBlocks.java Uses cache engines and engine adapters for safe tier/L2-specific eviction logic.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​TestCacheEviction.java Updates cached-file checks to read from CAS aggregated snapshot API.
hbase-server/​src/​test/​java/​org/​apache/​hadoop/​hbase/​HBaseTestingUtil.java Adjusts in-server testing util entry points to accept CAS instead of BlockCache.
hbase-server/​src/​main/​resources/​hbase-webapps/​regionserver/​regionserver.jsp Passes CAS into block cache view rendering instead of optional BlockCache.
hbase-server/​src/​main/​resources/​hbase-webapps/​regionserver/​blockCacheView.jsp Reworks JSON view to operate on cache topology tiers/engines rather than BlockCache arrays.
hbase-server/​src/​main/​resources/​hbase-webapps/​regionserver/​blockCacheStats.jsp Displays cache stats based on CAS (and treats NoOp as disabled).
hbase-server/​src/​main/​resources/​hbase-webapps/​regionserver/​blockCacheLevel.jsp Updates tier-level UI rendering to use CacheEngine and block-cache-backed adapters.
hbase-server/​src/​main/​resources/​hbase-webapps/​regionserver/​blockCacheHits.jsp Reads stats from either CacheEngine or CAS for hit-ratio rendering.
hbase-server/​src/​main/​resources/​hbase-webapps/​regionserver/​blockCacheEvictions.jsp Reads eviction stats from either CacheEngine or CAS.
hbase-server/​src/​main/​resources/​hbase-webapps/​regionserver/​blockCacheBaseInfo.jsp Updates base info UI to treat the “bc” attribute as CAS.
hbase-server/​src/​main/​resources/​hbase-webapps/​regionserver/​blockCache.jsp Refactors block cache tab wiring to pull L1/L2 engines from CAS topology.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​regionserver/​RegionServerServices.java Introduces getCacheAccessService() on RS services interface replacing getBlockCache().
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​regionserver/​RSRpcServices.java Switches RPC endpoints to use CAS for cache size/cached-files reporting.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​regionserver/​MetricsRegionWrapperImpl.java Migrates region cached-size metrics to use CAS getRegionCachedInfo().
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​regionserver/​MetricsRegionServerWrapperImpl.java Refactors RS cache metrics to initialize engines from CAS/topologies and derive tier stats.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​regionserver/​HeapMemoryManager.java Updates heap memory manager to resize a ResizableCacheEngine extracted from CAS.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​regionserver/​HStore.java Creates CacheConfig using region’s CAS instead of BlockCache.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​regionserver/​HRegionServer.java Makes CAS the RS-owned cache component; wiring for shutdown, observers, and heap tuning.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​regionserver/​HRegion.java Replaces per-region BlockCache storage with CAS and updates graceful-stop close behavior.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​cache/​TopologyBackedCacheAccessService.java Implements CAS getRegionCachedInfo() by delegating to the tier that tracks it.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​cache/​LruCacheEngine.java Exposes existing “for test” helpers as public for test/diagnostic access.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​cache/​CacheEngine.java Adds getRegionCachedInfo() optional API to cache engines.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​cache/​CacheAccessService.java Adds CAS getRegionCachedInfo() optional API.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​cache/​BlockCacheBackedCacheEngine.java Delegates region cached info to wrapped BlockCache when available.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​CacheConfig.java Switches CacheConfig to ConfigurationObserver and removes child observer registration hooks.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​io/​hfile/​BlockCacheUtil.java Adds JSON helpers and cached-block-by-file aggregation for CAS/engine-based views.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​client/​ClientSideRegionScanner.java Uses CAS for client-side scanning cache ownership and shutdown.
hbase-server/​src/​main/​java/​org/​apache/​hadoop/​hbase/​MockRegionServerServices.java Implements new getCacheAccessService() to return a no-op CAS.
hbase-diagnostics/​src/​test/​java/​org/​apache/​hadoop/​hbase/​io/​encoding/​TestEncodedSeekers.java Migrates diagnostics test to access LRU engine via CAS test factory.

Review effort: Lite

@VladRodionov

Copy link
Copy Markdown
Contributor Author

Waiting for the rest of a review.

@anmolnar

anmolnar commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Initial review feedback from Claude. I haven't verified its claims yet.


Review by Claude (AI), on behalf of @anmolnar . Based on reading 44b6842 against its parent; I didn't build or run the tests.

Thanks for pushing this forward. Moving RS ownership to CacheAccessService is the right next step for HBASE-30018, and most of the caller migration (RSRpcServices, MetricsRegionWrapperImpl, HStore, ClientSideRegionScanner) is a clean one-for-one swap. Registering the service once from HRegionServer instead of as a child of every CacheConfig is an improvement too: before, closing a store could deregister the RS-wide service.

Blocking

  1. Graceful stop now always disables evict-on-close (HRegion.close). Previously evictOnClose was turned off only when L2 was a BucketCache with persistence enabled. Now it's turned off for every topology. On a plain LRU setup, or a bucket cache without persistence, a closed region's blocks now stay cached on a draining server, which contradicts "no user-visible behavior change". I'd keep the check by adding a capability to the new API, e.g. isPersistenceEnabled() on CacheEngine/CacheAccessService (default false), with BlockCacheBackedCacheEngine delegating to BucketCache.isCachePersistenceEnabled(), or by checking PersistentCacheComponent on the L2 engine. A test for both cases (persistence on and off) would lock this in. (Same point Copilot raised.)

  2. Removed tests with no replacement. TestCacheConfig#testRegistersCacheAccessServiceAsConfigurationChild and #testDeregistersCacheAccessServiceAsConfigurationChild are gone. Could we add a test showing the RS registers the service with ConfigurationManager, a config reload reaches the engines, and closing a region doesn't drop that registration?

Non-blocking, but worth doing

  1. blockCacheLevel.jsp: isLru now checks instanceof LruCacheEngine. IndexOnlyLRU is still a legacy IndexOnlyLruBlockCache (extends LruBlockCache) wrapped in BlockCacheBackedCacheEngine, so its index/bloom count and size rows disappear. Unwrapping as the JSP already does for BucketCache would fix it.
  2. LruCacheEngine#getCachedFileNamesForTest / #getMapForTests made public. The latter exposes the live map. Could these use @RestrictedApi(allowedOnPath = ".*/src/test/.*") instead?
  3. Concrete-class branching. HeapMemoryManager#toResizableCacheEngine throws IllegalArgumentException for any service that isn't topology- or BlockCache-backed. HeapMemoryManager, MetricsRegionServerWrapperImpl#initBlockCache and blockCache.jsp each repeat the "SINGLE vs L1 tier" selection. A helper on the service (e.g. Optional<ResizableCacheEngine> getResizableHeapEngine() or getEngine(CacheTier)) would remove both problems.
  4. Unreachable branches. CacheAccessServices.fromConfiguration only returns a topology-backed or no-op service, so the BlockCacheBackedCacheAccessService branches in HeapMemoryManager and MetricsRegionServerWrapperImpl can't run in an RS, while the JSPs don't handle that case at all. I'd either drop the branches or make the JSPs handle the same case.
  5. HRegion.cacheAccessService can still be null. setCacheAccessService(null) turns null into NoOpCacheAccessService, but the field stays null when rsServices == null and the setter is never called. Initializing it to NoOpCacheAccessService would make this consistent with CacheConfig, which already treats null as disabled.

Nits

  • blockCacheView.jsp: writes "no tier" messages to System.out and returns an empty body from a JSON endpoint. Not new behavior, but returning [] would be nicer while the file is being rewritten.
  • blockCacheStats.jsp: "BlockCache is null" → "Block cache is disabled".
  • BlockCacheUtil#toJSON(CacheAccessService) has no callers, and with GSON excluding private fields it would print {}. Suggest removing it.
  • JSPs mix tabs and spaces, have trailing whitespace on import lines, and two are missing a final newline.
  • HRegionServer#getCacheAccessService javadoc still says "block cache instance" and "which not carry table".
  • HBaseTestingUtility is @InterfaceAudience.Public (deprecated), so the createRegionAndWAL(..., BlockCache) and createTestRegion(..., BlockCache) signature changes will need a release note for the eventual master merge, or keep BlockCache overloads that adapt through CacheAccessServices.

Happy to take another look once #1 and #2 are addressed.

@VladRodionov

Copy link
Copy Markdown
Contributor Author

No. 1 has been addressed already in the previous review, will work on the rest issues. Thanks, @anmolnar

@VladRodionov

Copy link
Copy Markdown
Contributor Author

On the last one nit: I agree that this is a public API signature change and should be called out in the release notes. I don't think retaining BlockCache overloads is desirable here, though, since the goal of this migration is to remove BlockCache references entirely. I'll keep the CacheAccessService signatures and add the appropriate release note for the master merge.

@VladRodionov
VladRodionov force-pushed the HBASE-30383-regionserver-cache-access-service branch from 44b6842 to 5eaad37 Compare October 30, 2026 18:55
@VladRodionov

VladRodionov commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor Author

Addressed review comments:

  • I restored RegionServer-level CacheAccessService registration coverage in
    TestRegionServerOnlineConfigChange.
  • I restored graceful-stop behavior in HRegion.close() so evictOnClose is disabled only for the
    same case as before: an exclusive tiered cache with a persistent BucketCache as L2.
  • I fixed blockCacheLevel.jsp handling of IndexOnlyLRU by recognizing legacy
    LruBlockCache implementations wrapped by BlockCacheBackedCacheEngine.
  • I restricted public test-only LruCacheEngine accessors with @RestrictedApi.
  • I added cache-engine accessors to CacheAccessService and removed concrete-service branching from
    HeapMemoryManager, MetricsRegionServerWrapperImpl, and the RegionServer cache UI code.
    Callers now use getFirstLevelEngine() / getEngine(CacheTier) instead of inspecting
    TopologyBackedCacheAccessService or BlockCacheBackedCacheAccessService.
  • I removed the unreachable RegionServer-specific BlockCacheBackedCacheAccessService handling as a
    consequence of the common engine-access API.
  • I cleaned up JSP whitespace issues reported by review: mixed tabs/spaces, trailing whitespace, and
    missing final newlines.
  • I Addressed n1 blocker as well - Graceful stop now always disables evict-on-close

Almost all nits.
Not addressed in this commit:

  • I did not preserve the old HBaseTestingUtility methods taking BlockCache by adding compatibility
    overloads. The long-term goal of the migration is to remove BlockCache references, so retaining
    new compatibility APIs would work against that goal.
  • The resulting public API signature change in deprecated HBaseTestingUtility will need to be
    called out in the release note when the complete cache migration is merged to master.
  • I did not attempt to remove every remaining BlockCache reference. Legacy cache implementations
    and adapters remain where needed until the rest of the migration is completed.

@VladRodionov

Copy link
Copy Markdown
Contributor Author

cc: @anmolnar @taklwu

@anmolnar

Copy link
Copy Markdown
Contributor

Second-round review by Claude (AI), on behalf of @. Based on 5eaad37 vs the previous 44b6842; not built or run locally.

Thanks for the quick turnaround. The blocking items are fixed: the persistent-L2 check is back in HRegion.close with tests, and the RS-level config registration now has a test. Adding getEngine(CacheTier) / getFirstLevelEngine() to CacheAccessService is a nice cleanup; it removed the duplicated tier-selection logic from HeapMemoryManager, the metrics wrapper and the JSPs.

A few remaining items:

  1. Trailing newlines. All six regionserver blockCache*.jsp files now end without a newline (all had one on the base branch). Probably the whitespace cleanup; could you restore them?
  2. blockCacheView.jsp still requires TopologyBackedCacheAccessService and reads its topology directly, so it returns [] for a block-cache-backed service while the HTML tabs show data. Using getFirstLevelEngine() / getEngine(CacheTier.L2) would make it consistent with the other pages.
  3. HRegion#isPersistentBucketCacheL2 could use getEngine(CacheTier.L2) instead of casting to the topology-backed service and checking the topology type. (Typo in the TODO: "BuckeCache".)
  4. Tests: the TestHRegion cases test the helper with mocks only. A case for a single-tier/LRU-only setup returning false would cover the original regression. In testCacheAccessServiceRegistrationSurvivesRegionClose, the notifyAllObservers(conf) calls aren't followed by any assertion; either verify onConfigurationChange reaches the service (e.g. via a spy) or drop the "verify delivered" comments.
  5. blockCacheView.jsp content type changed from text/html to application/json. That's more correct, but worth a mention in the PR description given the "no user-visible change" note.

Nits: blockCacheLevel.jsp scriptlet lost its indentation; startHeapMemoryManager could check getFirstLevelEngine().isPresent() instead of instanceof NoOpCacheAccessService; HRegion.cacheAccessService could default to NoOpCacheAccessService; and the HBaseTestingUtility signature change still needs a release note before the master merge.

LGTM once 1 and 2 are addressed.

@VladRodionov

Copy link
Copy Markdown
Contributor Author

This failures are not PR - related.

@taklwu taklwu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@VladRodionov
VladRodionov force-pushed the HBASE-30383-regionserver-cache-access-service branch from 5eaad37 to 48c880d Compare November 3, 2026 00:24
@VladRodionov

Copy link
Copy Markdown
Contributor Author

Pushed second PR update. cc: @anmolnar @taklwu

@VladRodionov
VladRodionov force-pushed the HBASE-30383-regionserver-cache-access-service branch from 48c880d to 39faf70 Compare November 3, 2026 18:26
@anmolnar

anmolnar commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Third-round review by Claude (AI), on behalf of @anmolnar Based on 39faf70 vs the previous 5eaad37; not built or run locally.

Thanks, this looks good to me. Final newlines are restored, blockCacheView.jsp and HRegion#isPersistentBucketCacheL2 now go through getEngine(...), the LRU-only test covers the original regression case with a real CacheAccessService, and defaulting HRegion.cacheAccessService to NoOpCacheAccessService closes the last null gap.

Correction to my previous round: the []-vs-HTML mismatch I described in blockCacheView.jsp can only happen with a BlockCacheBackedCacheAccessService, which an RS never builds, so it wasn't a real bug.

Optional cleanups, here or in a follow-up:

  • The remaining instanceof TopologyBackedCacheAccessService guards in isPersistentBucketCacheL2 and blockCacheView.jsp are now redundant, since getEngine works for every implementation.
  • blockCacheView.jsp: tab indentation and a trailing tab on the new lines; CacheTopology/CacheTopologyType imports are unused (as are the topology imports in blockCache.jsp).
  • TestHRegion: the mock tests still stub getTopology()/getType(), which are no longer called; the new LRU test could shutdown() the service it creates.
  • PR description: worth noting that blockCacheView.jsp now responds with application/json and [] when a tier is missing.
  • For the eventual master merge: release note for the HBaseTestingUtility BlockCache → CacheAccessService signature change.

+1 from me.

@anmolnar anmolnar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚢

@VladRodionov

Copy link
Copy Markdown
Contributor Author

All failures are not PR - related. There is only 1 unit test failure: TestProcDispatcher, I ran it locally several times - all PASSED. It fails by timeout 5sec, probably due to a high load on CI servers. I think we are good to go. @anmolnar @taklwu

@anmolnar
anmolnar merged commit e55da68 into apache:HBASE-30018 Nov 4, 2026
5 of 8 checks passed
@VladRodionov

Copy link
Copy Markdown
Contributor Author

Thank you, @anmolnar and @taklwu for the review.

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.

4 participants