Skip to content

Conversation

@priyeshkaratha
Copy link
Contributor

@priyeshkaratha priyeshkaratha commented Jan 2, 2026

What changes were proposed in this pull request?

Currently, JmxServiceProviderImpl fails to fetch JMX metrics when Datanodes are configured with Kerberos authentication. This occurs because the ReconUtils#makeHttpCall method is invoked without the isSpnego flag set to true, causing authentication to fail.
This PR introduces a check for the hdds.datanode.http.auth.type configuration property. If set to kerberos, the service will now correctly pass isSpnego = true to ReconUtils, ensuring secure JMX communication.

What is the link to the Apache JIRA

HDDS-14334

How was this patch tested?

Validated with CI

@priyeshkaratha priyeshkaratha marked this pull request as ready for review January 2, 2026 08:34
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.

1 participant