Fixed Issues in HBase

Review the list of HBase issues that are resolved in Cloudera Runtime 7.3.1, its service packs and cumulative hotfixes.

Cloudera Runtime 7.3.1.1200 SP3 CHF 7

Null pointer exception occurs when the cache-aware load balancer is enabled
Previously, when CacheAwareLoadBalancer was enabled, the HBase balancer could fail with a NullPointerException error while balancing a table. This issue is now fixed.

Apache Jira: HBASE-29453

Region cache percentage metrics incorrectly calculated values exceeding 100 percent

Previously, region cache percentage metrics incorrectly reported values exceeding 100 percent in the following scenarios:

  • When the cacheCompactedOnWrite configuration parameter was enabled and compacted files closed, cached blocks were not properly decremented from the metrics.
  • When caching HBase links pointing to archived files from online regions, the cached size was incorrectly attributed to the original region rather than the region containing the link.
This issue is now fixed. Region cache percentage metrics are now accurately calculated and displayed.

Apache Jira: HBASE-29707

Cloudera Runtime 7.3.1.1100 SP3 CHF 6

There are no new fixed issues in this release.

Cloudera Runtime 7.3.1.1000 SP3 CHF 5

There are no new fixed issues in this release.

Cloudera Runtime 7.3.1.900 SP3 CHF 4

There are no new fixed issues in this release.

Cloudera Runtime 7.3.1.706 SP3 CHF 2

There are no new fixed issues in this release.

Cloudera Runtime 7.3.1.600 SP3 CHF1

There are no fixed issues in this release.

Cloudera Runtime 7.3.1.500 SP3

There are no fixed issues in this release.

Cloudera Runtime 7.3.1.400 SP2

CDPD-84435: Upgrade operation fails with Failed to decommission RegionServer
7.3.1.400
Previously, the upgrade operation failed with a Failed to decommission RegionServer message.

This issue is now fixed. The HMaster daemon now aborts when it detects a WALSyncTimeoutException error during MasterRegion edits.

Apache Jira: HBASE-28803

CDPD-83544 : Potential performance degradation when using persistent cache, causing a restart involving full cache recovery
7.3.1.400
Previously, when persistent cache was enabled, a restart involving full cache recovery caused significant performance degradation.

This issue is now fixed.

Apache Jira: HBASE-29326

CDPD-81524: CacheAwareLoadBalancer moves regions without throttling
7.3.2, 7.3.1.400
Previously, the CacheAwareLoadBalancer implementation moved regions without throttling, which could cause performance degradation.

This issue is now fixed. Region move throttling is now supported for CacheAwareLoadBalancer when moving regions to a target server with a cached ratio below the threshold set by the hbase.master.balancer.stochastic.throttling.cacheRatio property (80% by default). The throttling duration is now configurable using the hbase.master.balancer.move.throttlingMillis property, with a default value of 60000 milliseconds.

Other balancer implementations continue to use the default noop behavior provided within the LoadBalancer interface.

Apache Jira: HBASE-29168

CDPD-81524: The ENCODED_DATA block type is not being considered within BucketCache.notifyFileCachingComplete
7.3.2, 7.3.1.400
Previously, only DATA block types were registered in the BucketCache.notifyFileCachingComplete method. When an encoding such as FASTDIFF was used, the block type changed to ENCODED_DATA, preventing it from being accounted for in the internal cache metrics. Consequently, when persistent cache was enabled, the cache-aware balancer calculated inaccurate region cache percentages following a restart or failure recovery.

This issue is now fixed.

Apache Jira: HBASE-29243

CDPD-81524: Dynamic configuration not supported for BlockCache implementations
7.3.2, 7.3.1.400
Previously, properties related to free space management and block prioritization could not be dynamically configured.
This issue is now fixed by introducing the following dynamic configuration properties:
  • hbase.bucketcache.acceptfactor
  • hbase.bucketcache.minfactor
  • hbase.bucketcache.extrafreefactor
  • hbase.bucketcache.single.factor
  • hbase.bucketcache.multi.factor
  • hbase.bucketcache.memory.factor
  • hbase.bucketcache.queue.addition.waittime
  • hbase.bucketcache.persist.intervalinmillis
  • hbase.bucketcache.persistence.chunksize

Apache Jira: HBASE-29249

CDPD-81524: Hit ratio metrics cannot be displayed by configurable, granular periods
7.3.2, 7.3.1.400
Previously, hit ratio metrics could not be displayed by configurable, granular periods.
This issue is now fixed by introducing the following configuration properties:
  • hbase.blockcache.stats.periods: Configures a multiple window period.
  • hbase.blockcache.stats.period.minute: Defines the duration of each period in minutes.

When the hbase.blockcache.stats.periods property is defined and is set to a value greater than one, HBase creates a scheduled executor that rolls the metrics calculation at the interval defined by the hbase.blockcache.stats.period.minute property, accounting only for the hits and requests that occur during that period.

Apache Jira: HBASE-29276

CDPD-81524: Cache prefetch triggers mass block evictions when cache usage reaches the accept factor
7.3.2, 7.3.1.400
Previously, when cache prefetch was enabled and cache usage reached the configured acceptance factor, prefetch operations triggered a cycle of frequent mass block evictions until reading the entire file was complete.

This issue is now fixed by evaluating cache capacity before attempting to write prefetched blocks into the cache. Standard client reads and HFile writes continue caching blocks normally.

Apache Jira: HBASE-29288

Cloudera Runtime 7.3.1.300 SP1 CHF 1

There are no fixed issues in this release.

Cloudera Runtime 7.3.1.200 SP1

CDPD-77399: HBase fails to register servlet metrics
7.3.1.200
Previously, HBase failed to register servlet metrics on Hadoop 3 deployments, causing a ClassNotFoundException: org.apache.hadoop.metrics.MetricsServlet error because the system attempted to load the Hadoop 2 servlet class.

This issue is now fixed. HBase does not warn about the Hadoop 2-based metric servlet class on a Hadoop 3 deployment.

Apache Jira: HBASE-28315

Cloudera Runtime 7.3.1.100 CHF 1

There are no fixed issues in this release.

Cloudera Runtime 7.3.1

CDPD-67520: JWT authentication fails when using custom subject claims
7.3.1
Previously, JWT authentication expected only the standard sub claim in the token payload.

This issue is now fixed. You can now define a custom claim for Subject/Principal using the hbase.security.oauth.jwt.token.principal.claim configuration property in the HBase Service Advanced Configuration Snippet (Safety Valve) for hbase-site.xml advanced configuration snippet in Cloudera Manager.

CDPD-66387: RegionServer fails to abort when WAL synchronization times out
7.3.1
Previously, when a WAL synchronization operation timed out, the WAL.sync method threw an unwrapped TimeoutIOException error.

This issue is now fixed. HBase wraps the TimeoutIOException exception in a special WALSyncTimeoutIOException error. When the upper layer such as HRegion.doMiniBatchMutate called by HRegion.batchMutation catches this special exception, HBase aborts the region server.

Apache Jira: HBASE-27230

CDPD-65373: Prefetch delay property cannot be configured dynamically
7.3.1
Previously, the hbase.hfile.prefetch.delay configuration property was not dynamically configurable.

This issue is now fixed. The hbase.hfile.prefetch.delay property is now dynamically configurable in Cloudera Manager. Changes take effect automatically after refreshing the HBase service, without requiring a service restart.

Apache Jira: HBASE-28292

CDPD-74494: JVM fails intermittently on ARM64 machines
7.3.1
Previously, the JVM failed unexpectedly in the HBase service that is based on ARM64 architecture and uses JDK 17.

This issue is now fixed by refactoring a large implementation function into smaller functions.

Apache Jira: HBASE-28206

CDPD-73117: Bucket cache data is lost after a rolling restart
7.3.1
Previously, when persistent bucket cache size exceeded 1.3 TB, the corresponding backing-map information (information related to the persistence cache) exceeded the 2 GB protocol buffer message limit. This caused backing-map data to partially persist, resulting in reduced cache capacity and lost entries following a rolling restart.

This issue is now fixed by segmenting backing-map information into chunks smaller than 2 GB. Now all information, even beyond 2 GB, is persisted and can be retrieved after a rolling restart.

OPSAPS-70946: The hbase-site.xml file does not contain XInclude for the refreshable files
7.3.1
Previously, hbase-site.xml files did not contain the xi:include tag required to reference the hbase-site-refreshable.xml file, preventing dynamic parameter reloads.

This issue is now fixed.

OPSAPS-70908: Refresh cluster command fails during ephemeral cache zero downtime upgrade
7.3.1
Previously, during zero-downtime upgrades with ephemeral cache enabled, running the cluster refresh command failed with authentication errors on Kerberos-enabled environments when reading refreshable files.

This issue is now fixed. The RegionServerRefreshCommand now sets SCM_KERBEROS_PRINCIPAL as the Kerberos principal in the region server refresh process environment.

OPSAPS-70866: Invalid HBase prefetch configurations during rolling runtime upgrade
7.3.1
Previously, rolling runtime upgrades reset the default values for the hbase_hfile_prefetch_delay and hbase.block.data.cacheonread properties to invalid configurations.

This issue is now fixed. The default value for hbase_hfile_prefetch_delay is now restored to 1000 milliseconds and the default value for hbase.block.data.cacheonread is now restored to true.

OPSAPS-70294: HBase does not use load balancing for the WEBHBASE Knox service
7.3.1
Previously, Apache Knox configured the WEBHBASE service for high availability.

This issue is now fixed. For CDPD 7.3.0 and higher versions, the WEBHBASE service is configured for sticky load balancing instead of high availability in Knox.

OPSAPS-70035: HBase ZooKeeper client TLS toggle does not control the daemon roles
7.3.1
Previously, toggling TLS for ZooKeeper clients in Cloudera Manager applied only to client configurations and omitted certain HBase daemon roles.

This issue is now fixed. HBase ZooKeeper secure client mode now affects all roles.

OPSAPS-69983: ZooKeeper truststore type is not set in the HBase service configuration
7.3.1
Previously, Cloudera Manager did not set the ZooKeeper truststore type in the HBase service configuration. Because the type was not set explicitly, it might not match the actual format of the truststore file if the file contents did not match the file extension.

This issue is now fixed. Cloudera Manager now automatically sets the ZooKeeper truststore type for HBase to the keystore type that is configured in Cloudera Manager, using the hbase.zookeeper.property.ssl.trustStore.type property.

OPSAPS-69805: HBase client configuration does not use a secure port if client TLS is enabled
7.3.1
Previously, HBase client configurations connected over insecure ports by default even when client TLS was enabled.
This issue is now fixed. HBase only uses a secure ZooKeeper port in client connections if enabled explicitly.
OPSAPS-69757: HBase TLS connection to ZooKeeper is enabled by default
7.3.1
Previously, the HBase TLS connection to ZooKeeper was enabled by default, which caused connectivity failures in deployments without ZooKeeper TLS configured.

This issue is now fixed. HBase introduces a new property to enable or disable TLS connection in client roles. The default value is disabled.

OPSAPS-57937: No alerts are generated when the HBase process is in a hung state
7.3.1
Previously, HBase Master monitoring (canary) reported a healthy (green) status even when the HBase Master process was not initialized.

This issue is now fixed by adding additional health checks to query HBase if it is up and running.

CDPD-74725: HBase throws org.apache.hbase.thirdparty.io.netty.util.ResourceLeakDetector exception
7.3.1
Previously, HBase leaked direct memory buffers, leading to heap issues over extended runtimes.

This issue is now fixed.

Apache Jiras: HBASE-28890 and HBASE-28893

CDPD-72120: REST multiget endpoint does not support scan filters
7.3.1
Previously, the HBase REST multiget endpoint did not support scan filters.

This issue is now fixed. HBase allows specifying a filter for the REST multiget endpoint and the SCAN_FILTER constant is restored.

Apache Jira: HBASE-28518

CDPD-71008: REST Java client library assumes stateless servers
7.3.1
Previously, the HBase REST Java client library operated under the assumption that backend servers were strictly stateless.

This issue is now fixed.

Apache Jira: HBASE-28500

CDPD-71007: hbase-rest client shading conflicts with hbase-shaded-client in HBase 2.x
7.3.1
Previously, class shading conflicts occurred when using hbase-rest alongside hbase-shaded-client in HBase 2.x deployments.

This issue is now fixed.

Apache Jira: HBASE-28526

CDPD-71006: Missing support for non-SPNEGO authentication methods and session handling in the REST Java client library
7.3.1
Previously, the HBase REST Java client library supported only SPNEGO authentication.

This issue is now fixed.

Apache Jira: HBASE-28501

CDPD-70493: MultiRowRangeFilter deserialization fails in org.apache.hadoop.hbase.rest.model.ScannerModel
7.3.1
Previously, requests submitted to the REST gateway using the MultiRowRangeFilter filter failed during deserialization in org.apache.hadoop.hbase.rest.model.ScannerModel.

This issue is now fixed.

Apache Jira: HBASE-28626

CDPD-69335: REST multiget endpoint issues multiple GET requests
7.3.1
Previously, the REST multiget endpoint issued multiple individual GET requests to retrieve requested rows, causing unnecessary network overhead and reduced read throughput.

This issue is now fixed. The REST multiget endpoint now retrieves data using a single GET call.

Apache Jira: HBASE-28523

CDPD-68900: HBase properties are not dynamically configurable
7.3.1
Previously, modifying block caching configuration properties required restarting region servers for the changes to take effect.
This issue is now fixed. The following configuration properties can now be updated dynamically:
  • hbase.rs.evictblocksonclose
  • hbase.rs.cacheblocksonwrite
  • hbase.block.data.cacheonread
Newly changed values in the hbase-site.xml file are read by HBase and values in appropriate classes are updated.
CDPD-68550: BucketCache.notifyFileCachingCompleted might incorrectly consider a file fully cached
7.3.1
Previously, the BucketCache.notifyFileCachingCompleted method could prematurely mark a file as fully cached before all corresponding blocks were committed.

This issue is now fixed.

Apache Jira: HBASE-28458

CDPD-68154: BuckeCache.evictBlocksByHfileName does not work after a cache recovery from a file
7.3.1
Previously, invoking the BucketCache.evictBlocksByHfileName method failed to evict cached blocks after recovering cache contents from a persistent backing file.

This issue is now fixed.

Apache Jira: HBASE-28450

CDPD-64046: Memory leak in BucketCache.blocksByHFile during allocation failures or I/O errors
7.3.1
Previously, when BucketCache encountered memory allocation failures or I/O errors while caching blocks, the BucketCache.blocksByHFile tracking map leaked block references, causing excessive heap memory consumption.

This issue is now fixed.

Apache Jira: HBASE-28211

CDPD-63765: NavigableSet add operation is outside the writer thread in BucketCache
7.3.1
Previously, BucketCache performed NavigableSet collection add operations outside the dedicated cache writer thread, introducing thread contention, potential cache leaks and excessive memory usage.

This issue is now fixed.

Apache Jira: HBASE-26305

CDPD-62737: PrefetchExecutor runs for files from the CF levels with disabled BLOCKCACHE
7.3.1
Previously, the PrefetchExecutor thread processed files from column families with disabled BLOCKCACHE.

This issue is now fixed. Disabling caching or pre-caching of individual tables is now possible.

Apache Jira: HBASE-28217

CDPD-45890: Miss counts in one of the CombinedBlockCache getBlock implementations
7.3.1
Previously, one of the CombinedBlockCache.getBlock method implementations recorded cache miss counts incorrectly, causing inaccurate cache hit ratio metrics in Cloudera Manager.

This issue is now fixed.

Apache Jira: HBASE-28189