stoty commented on PR #2027: URL: https://github.com/apache/phoenix/pull/2027#issuecomment-2485099736
The kerberos login and the Configuration creation (even with the modified patch) happens every time when a connection is created (from JDBC or internally) with explicit principal/keytab. Even if the UGI call is shortcut and quick when we are already logged in as the requested principal (did not check), the original HBaseConfiguration performance regression remains in this case. See my comment on the code for a suggested quick-and-dirty workaround for the performance issue. I think that ultimately (next patch) we should move the UGI stuff out of this class, in which case there is no need to modify or create a new HBaseConfiguration, which makes syncing it moot. -- 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-unsubscr...@phoenix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org