This is an automated email from the ASF dual-hosted git repository.

kihwal pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1ea3f74  HADOOP-17360. Log the remote address for authentication 
success (#2441)
1ea3f74 is described below

commit 1ea3f74246294c280a2ccb0ff3e90b5721c5f0e2
Author: Ahmed Hussein <50450311+amahuss...@users.noreply.github.com>
AuthorDate: Mon Nov 9 14:05:08 2020 -0600

    HADOOP-17360. Log the remote address for authentication success (#2441)
    
    Co-authored-by: ahussein <ahmed.huss...@verizonmedia.com>
---
 .../hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
 
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
index 25f3394..3afad21 100644
--- 
a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
+++ 
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
@@ -2043,7 +2043,7 @@ public abstract class Server {
             LOG.debug("SASL server successfully authenticated client: " + 
user);
           }
           rpcMetrics.incrAuthenticationSuccesses();
-          AUDITLOG.info(AUTH_SUCCESSFUL_FOR + user);
+          AUDITLOG.info(AUTH_SUCCESSFUL_FOR + user + " from " + toString());
           saslContextEstablished = true;
         }
       } catch (RpcServerException rse) { // don't re-wrap


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to