steveloughran commented on PR #7140: URL: https://github.com/apache/hadoop/pull/7140#issuecomment-2483881941
@szetszwo now all my test run logs are full of stuff ``` 2024-11-18 18:53:37,645 [setup] INFO security.SaslRpcServer (SaslRpcServer.java:<init>(239)) - AuthMethod SIMPLE: code=80, mechanism="" 2024-11-18 18:53:37,645 [setup] INFO security.SaslRpcServer (SaslRpcServer.java:<init>(239)) - AuthMethod KERBEROS: code=81, mechanism="GSSAPI" 2024-11-18 18:53:37,646 [setup] INFO security.SaslRpcServer (SaslRpcServer.java:<init>(239)) - AuthMethod DIGEST: code=82, mechanism="DIGEST-MD5" 2024-11-18 18:53:37,646 [setup] INFO security.SaslRpcServer (SaslRpcServer.java:<init>(239)) - AuthMethod TOKEN: code=82, mechanism="DIGEST-MD5" 2024-11-18 18:53:37,646 [setup] INFO security.SaslRpcServer (SaslRpcServer.java:<init>(239)) - AuthMethod PLAIN: code=83, mechanism="PLAIN" ``` stack trace from the debugger implies this is UGI.initialize() calling SaslRpcServer, which now involves `SaslMechanismFactory.getMechanism()`, which has its own static initialiser and before long things are being logged which are completely needless. I'm not going to roll it back as that is overkill, however this needs to be addressed as every piece of code invoking a UGI method will now see these extra lines. Options * downgrade to debug * SaslRpcServer reverts to simpler references. I don't care which -only that it has done ASAP. 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
