Apache9 commented on PR #7580:
URL: https://github.com/apache/hbase/pull/7580#issuecomment-3696697249

   We do not want any authentications when fetching cluster id, so we create a 
new configuration instance and use it for the rpc connnection, this is a valid 
solution and should not have any side effect, as I do not modify the existing 
configuration object right? If this is not a valid usage, then how do our users 
try connecting to different hbase clusters in a single client process, where 
one cluster enables sasl, the other does not?
   
   As I said on the jira issue, the problem here is we should not have a 
singleton SaslProviders, as its intialization needs a Configuration object, but 
we allow our users to initialize different rpc connections with different 
Configurations right?
   
   This is what we need to fix here, I think.
   
   Thanks.


-- 
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]

Reply via email to