Fixed issues in Cloudera Runtime 7.1.9 SP2 CHF 7

Fixed issues for CDP Private Cloud Base 7.1.9 SP2 CHF 7 provide resolutions for identified bugs across core Cloudera Runtime components.

CDP Private Cloud Base version 7.1.9-1.cdh7.1.9.p20700.84952493shipped the following fixes:

CDPD-124306: HeatMap tab fails to load in Ozone Recon UI
Previously, the Heatmap tab in the Recon UI failed to load and displayed a blank screen or remained stuck on a loading screen. This issue is now resolved, and the Heatmap feature is now accessible and functional.
CDPD-124499: Ratis retry cache keeps metadata for calls that already received a reply
Previously, the Ratis retry cache kept metadata for every client request for the entire retry window, even after the request had received a reply. This could require a large amount of heap and cause frequent garbage collection. This issue is now resolved. The retry cache now invalidates entries for calls that have already received a reply.
Apache JIRA: RATIS-872
CDPD-124202: Impala catalog uses excessive memory for tables with many partitions
Previously, when Impala loaded file metadata for a table, it built maps that used org.apache.hadoop.fs.Path objects as keys, with one entry per partition. For tables with many partitions, this behavior used a large amount of memory. This issue is now resolved. Impala now uses the partition location string as the map key and creates a Path object only when a partition is loaded.
Apache JIRA: IMPALA-13789
CDPD-124189: Ranger KMS client throughput drops after moving to Java 17
Previously, after clients moved from Java 8 to Java 17, throughput from a KMSClientProvider client to Ranger KMS dropped by more than 70%, with frequent connection resets and broken pipes. Connections were not returned to the KeepAlive cache because draining unread bytes before closing a connection failed on Java 17. This issue is now resolved. The client now drains the stream before it closes the connection.
Apache JIRA: HADOOP-19996
CDPD-124351: ZooKeeper write requests can succeed after an ACL is revoked
Previously, when a setACL request that removed write access was in progress, a write request sent during that window was checked against the previous ACL and could succeed after the revocation. This issue is now resolved. The pending change record now carries the new ACL, ensuring that concurrent write requests are checked against the updated permissions.
CDPD-125142: ZooKeeper SASL DIGEST-MD5 authentication succeeds for a non-existent user
Previously, when ZooKeeper used SASL DIGEST-MD5 authentication, a client could log in with a username that did not exist if it supplied the password of the last user who had logged in successfully. The authentication handler did not clear the previous user's credentials when the requested username did not exist. This issue is now resolved. ZooKeeper now clears the stored credentials when a username is not found, so authentication fails for non-existent users.
Apache JIRA: ZOOKEEPER-4839
CDPD-124353: SASL authorization ID is not validated on ZooKeeper client port connections
Previously, ZooKeeper validated the SASL authorization ID only on quorum connections between servers, not on client port connections. An authenticated client could send an authorization ID that did not match its authenticated identity. This issue is now resolved. ZooKeeper now applies the same authorization ID check to client port connections, preventing a client from being authorized using an authorization ID that differs from its authenticated identity.
CDPD-124347: ZooKeeper does not validate quota statistics data before processing it
Previously, ZooKeeper did not check the format of the data stored in quota statistics nodes under the /zookeeper/quota path. A client could write malformed data to these nodes, causing ZooKeeper to fail when parsing that data during quota enforcement and reporting. This issue is now resolved. ZooKeeper now validates the format of quota statistics data and rejects data that is not in the expected format.
CDPD-124342: ZooKeeper multiRead requests could cause the server to use excessive memory
Previously, ZooKeeper did not limit the total size of the response it built for a multiRead request. A client could send a single multiRead request for many large znodes and cause the ZooKeeper server to use excessive memory, which could affect server stability or availability.

This issue is resolved by adding two configurable limits: zookeeper.multiRead.maxOps, which sets the maximum number of read operations per multiRead request (default: 1000), and zookeeper.multiRead.maxResponseBytes, which sets the maximum cumulative response size per multiRead request (default: 64 MB). ZooKeeper now throttles multiRead responses to keep memory usage bounded.

CDPD-123964: ZooKeeper logs ensemble names without removing special characters
Previously, ZooKeeper did not remove characters from ensemble names before writing them to the operational log, allowing unauthenticated clients to inject forged entries into the log file. This issue is now resolved. ZooKeeper now removes special characters from the ensemble name before writing the name to the operational log, preventing log injection.
Apache JIRA: ZOOKEEPER-5058
CDPD-123963: Special characters in ZooKeeper audit log fields allow log injection
Previously, ZooKeeper did not escape tab characters in user-supplied input such as usernames and ACL identifiers. Unauthenticated clients could inject forged entries into audit log files when audit logging was enabled. This issue is now resolved. ZooKeeper removes special characters from audit log fields before logging, preventing user-supplied input from being interpreted as field separators.
CDPD-125185: Atlas v1 entity audit endpoint bypasses entity read authorization
Previously, the GET /api/atlas/entities/{guid}/auditAtlas v1 entity audit endpoint, returned the audit history of an entity to any authenticated user, even when the user did not have read permission on that entity. This issue is now resolved. The v1 endpoint now checks entity read permission in the same way as the v2 audit endpoint and returns HTTP 403 error when access is denied.
Apache JIRA: ATLAS-5418
CDPD-122592: Atlas administrative REST endpoints do not enforce authorization
Previously, several Atlas administrative REST endpoints under the /api/atlas/admin path did not check Atlas privileges, allowing any authenticated user to call them. This issue is now resolved. These endpoints now require the appropriate Atlas administrative or entity read privilege.
Apache JIRA: ATLAS-5326