Fixed issues for Knox are addressed in Cloudera Runtime
7.3.4.
- CDPD-127015: Knox fails to initialize the token state service when multiple instances start simultaneously against an empty PostgreSQL database
- 7.3.4
- Previously, when multiple Knox instances started at the same time against an empty PostgreSQL database,
JDBCTokenStateService failed to initialize with a duplicate key error. The advisory lock protecting the DDL script released before the CREATE TABLE statement committed, so a second instance attempted to create the same table and raised a unique constraint violation.
- This issue is now resolved. Knox instances starting concurrently against an empty PostgreSQL database no longer fail with a duplicate key error during token state service initialization.
Apache JIRA: KNOX-3536
- CDPD-126632: Topologies without an identity-assertion provider redeploy unnecessarily when any topology file changes
- 7.3.4
- Previously, when any file in the topologies directory changed, every topology that did not declare an identity-assertion provider was incorrectly marked as updated and reactivated, even when its own file had not changed. The Knox deployment factory added a default identity-assertion provider directly to the shared
Topology object used for change detection, causing later comparisons to report a difference on every reload cycle.
- This issue is now resolved. Default providers added at deploy time no longer modify the cached topology object, so Knox does not trigger unnecessary redeployments for topologies whose files have not changed.
Apache JIRA: KNOX-3528
- CDPD-126602: Auto-deploy topologies are not redeployed at gateway startup
- 7.3.4
- Previously, topologies listed in gateway.auto.deploy.topologies (default:
admin,manager) were not redeployed during gateway startup as expected. The topology file monitor started after the auto-deploy write, so its initial snapshot already captured the updated timestamp and never reported it as a new change. As a result, the auto-deploy topologies were redeployed unexpectedly the next time any unrelated topology file changed.
- This issue is now resolved. Auto-deploy topologies are redeployed during gateway startup, and subsequent changes to unrelated topology files no longer cause them to redeploy.
Apache JIRA: KNOX-3527
- Redeploy topologies on gateway-reloadable configuration changes via reloadableListener topology attribute
- 7.3.4
- Previously, Knox reloaded
gateway-reloadable.xml at runtime when the file changed, but topologies had no mechanism to react to those updates. Topologies that depended on reloadable configuration continued using the values from their last deployment until they were redeployed manually.
- This improvement adds a reloadableListener attribute to topology definitions. When set to
true, a topology is automatically redeployed and picks up the new configuration values whenever gateway-reloadable.xml changes. Topologies that do not set this attribute are not affected by reloadable configuration changes.
- CDPD-124898: Knox logout page does not apply the configured UI theme
- 7.3.4
- Previously, the Knox logout page (
logout.jsp) did not honor the theme configuration that was applied to the login page, resulting in an unstyled or inconsistently styled logout experience when a custom theme was configured.
- This issue is now resolved. The Knox logout page applies the configured theme consistently with the login page.
Apache JIRA: KNOX-3505
- CDPD-110916: Knox load balancer backend selection encounters a synchronization issue under concurrent requests
- 7.3.4
- Previously, the Knox load balancer could encounter a synchronization issue during backend selection when multiple requests were processed concurrently, leading to degraded performance that was difficult to diagnose.
- This issue is now resolved. Backend selection in the Knox load balancer is correctly synchronized under concurrent request load.
Apache JIRA: KNOX-3041