[ 
https://issues.apache.org/jira/browse/HADOOP-19306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899238#comment-17899238
 ] 

ASF GitHub Bot commented on HADOOP-19306:
-----------------------------------------

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.




> Support user defined auth Callback in SaslRpcServer
> ---------------------------------------------------
>
>                 Key: HADOOP-19306
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19306
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc, security
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.0
>
>
> Similar to HDFS-17576, SaslRpcServer should support CustomizedCallbackHandler.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to