Known issues in Apache HBase

Known issues and technical limitations for HBase are addressed in Cloudera Runtime 7.3.4.

Known issues identified in Cloudera Runtime 7.3.4

CDPD-121764: HBase reads from Hive fail when the Tez Application Master is already running
7.3.4
HBase-backed reads in Hive fail during split generation in the Tez Application Master (AM) with a java.lang.NoClassDefFoundError: io/opentelemetry/api/trace/Span error when the Tez AM is already running before the first HBase query runs. This includes AMs started by a non-HBase query that pooled or prewarmed HiveServer2 sessions. Every subsequent HBase read in that AM fails until you restart the AM. If the HBase query itself starts the Tez AM, the read succeeds.

Although HBase dependency JAR files, including the OpenTelemetry JAR files, are added to a running AM, the HBase client in the AM cannot resolve the OpenTelemetry classes because the AM startup classpath does not include them. JAR files added after the AM starts are not picked up for the startup classpath.

Add the OpenTelemetry JAR files to the session before the Tez AM starts by running the following statements:
ADD JAR file:///opt/cloudera/parcels/CDH/lib/hive/lib/opentelemetry-api-1.42.0.jar;
ADD JAR file:///opt/cloudera/parcels/CDH/lib/hive/lib/opentelemetry-context-1.42.0.jar;
ADD JAR file:///opt/cloudera/parcels/CDH/lib/hbase/lib/client-facing-thirdparty/opentelemetry-semconv-1.29.0-alpha.jar;
After you add the JAR files, the AM starts with the OpenTelemetry JAR files included in its session resources, and HBase reads succeed in the same AM after a non-HBase query runs.

Known issues identified before Cloudera Runtime 7.3.4

OPSAPS-81682: HBase clients cannot connect when RPC mTLS client authentication is required
7.3.3
When AutoTLS is enabled and the HBase RPC mTLS client auth mode property is set to Required (NEED), client TLS keystores are not generated. As a result, HBase clients, such as HBase shell, cannot connect to HBase Master, and commands fail with the Received fatal alert: bad_certificate error.
Apply either of the following configuration changes:
  • Change the HBase RPC mTLS client auth mode (hbase.server.netty.tls.client.auth.mode) property from Required (NEED) to Disabled (NONE) or Optional (WANT).
  • Enable the Master / Region Server TLS Plaintext Enabled (hbase.server.netty.tls.supportplaintext) property.
CDPD-119707: HBase replication between TLS-enabled Cloudera Operational Database clusters fails due to hostname verification
7.3.2.10000 SP1
When you set up reverse HBase replication between two TLS-enabled Cloudera Operational Database clusters, replication fails if reverse DNS resolution is not configured between the clusters. During mutual TLS (mTLS) authentication, the source cluster sends its certificate, which contains the hostname. The target cluster validates the certificate against its truststore and then verifies that the client connection IP address matches the hostname in the certificate. Because reverse DNS resolution does not work between separate Cloudera Operational Database clusters by default, this verification check fails and the connection is rejected.
This issue occurs when all of the following conditions are true:
  • Both clusters have TLS enabled.
  • Hostname verification is enabled (hbase.client.netty.tls.verify.server.hostname and hbase.server.netty.tls.verify.client.hostname are set to true).
  • hbase.server.netty.tls.client.auth.mode is set to WANT or NEED.
  • TLS certificates are issued without an IP Subject Alternative Name (SAN).
  • Reverse DNS resolution is not configured between the clusters.
  • Mutual TLS trust is established between the clusters.

These are the default settings for a fresh installation of Cloudera Runtime 7.3.2.10000.

To bypass the client hostname verification check, add the hbase.server.netty.tls.verify.client.hostname = false property to the HBase Service Advanced Configuration Snippet (Safety Valve) for hbase-site.xml using Cloudera Manager.