You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "priyeshkaratha (via GitHub)" <gi...@apache.org> on 2026/01/02 06:52:47 UTC
[PR] HDDS-14334. Fix JMX query failures when hdds.datanode.http.auth.type is set to Kerberos [ozone]
priyeshkaratha opened a new pull request, #9577:
URL: https://github.com/apache/ozone/pull/9577
## 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?
CI
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14334. [DO NOT MERGE] Fix JMX query failures when hdds.datanode.http.auth.type is set to Kerberos [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #9577:
URL: https://github.com/apache/ozone/pull/9577#issuecomment-3709255756
Thanks @priyeshkaratha for the patch. Why is this marked as "DO NOT MERGE"?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14334. Fix JMX query failures when hdds.datanode.http.auth.type is set to Kerberos [ozone]
Posted by "ChenSammi (via GitHub)" <gi...@apache.org>.
ChenSammi merged PR #9577:
URL: https://github.com/apache/ozone/pull/9577
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14334. [DO NOT MERGE] Fix JMX query failures when hdds.datanode.http.auth.type is set to Kerberos [ozone]
Posted by "priyeshkaratha (via GitHub)" <gi...@apache.org>.
priyeshkaratha commented on PR #9577:
URL: https://github.com/apache/ozone/pull/9577#issuecomment-3709973753
@adoroszlai current code is not setting security context properly. I just updated the PR with changes and tested in one of the ycloud cluster.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org