smengcl commented on code in PR #11024: URL: https://github.com/apache/ozone/pull/11024#discussion_r3790836564
########## hadoop-hdds/docs/content/feature/Observability.md: ########## @@ -254,8 +254,8 @@ message: "Volume already exists" status: VOLUME_ALREADY_EXISTS ``` -<div class="alert alert-warning" role="alert"> +<div class="alert alert-info" role="alert"> -Under the hood `ozone insight` uses HTTP endpoints to retrieve the required information (`/conf`, `/prom` and `/logLevel` endpoints). It's not yet supported in secure environment. +Under the hood `ozone insight` uses HTTP endpoints to retrieve the required information (`/conf`, `/prom` and `/logLevel` endpoints). In a secure (Kerberos) cluster these endpoints are protected by SPNEGO: run `kinit` first, and the requesting user must be an Ozone administrator (`ozone.administrators`). `ozone insight` negotiates SPNEGO automatically. Review Comment: It looks like `ozone insight config` does not support SPNEGO right now. It should use `InsightHttpUtils.openConnection` just like `ozone insight metrics` and `ozone insight log` already do to allow auth with SPNEGO. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
