hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [hadoop] vivekratnavel commented on issue #1201: HDDS-1788. Add kerberos support to Ozone Recon
Date Thu, 01 Aug 2019 20:59:52 GMT
vivekratnavel commented on issue #1201: HDDS-1788. Add kerberos support to Ozone Recon
URL: https://github.com/apache/hadoop/pull/1201#issuecomment-517455963
   Hi @bharatviswa504,
   OzoneConfigurationProvider is changed to ConfigurationProvider in this patch to have the
correct `Configuration` object passed to the constructor of `BaseHttpServer` here - https://github.com/apache/hadoop/blob/trunk/hadoop-ozone/ozone-recon/src/main/java/org/apache/hadoop/ozone/recon/ReconHttpServer.java#L35
   I understand that its not very clear because this class is not part of this PR. The issue
was that injection was not working in ReconHttpServer - https://github.com/apache/hadoop/blob/trunk/hadoop-ozone/ozone-recon/src/main/java/org/apache/hadoop/ozone/recon/ReconHttpServer.java#L34
because of the use of Configuration object. Now, with refactoring `OzoneConfigurationProvider`
to `ConfigurationProvider` and changing this line for bind - https://github.com/apache/hadoop/pull/1201/files#diff-4a219a4368f56aa118b6ba4afb981244R57
fixes the injection in `ReconHttpServer` and thus Recon web server is able to get access to
the correct principal name and authenticate with kerberos ticket.
   Please let me know if you have any more questions.

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.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message