diff --git a/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java b/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java index 121d96628b..d7145b1824 100644 --- a/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java +++ b/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java @@ -160,6 +160,7 @@ public void init(Properties config) throws ServletException { KerberosConfiguration kerberosConfiguration = new KerberosConfiguration(keytab, principal); + LOG.info("Login using keytab "+keytab+", for principal "+principal); loginContext = new LoginContext("", subject, null, kerberosConfiguration); loginContext.login(); diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 192331ab74..0405b17a56 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -57,6 +57,8 @@ Trunk (unreleased changes) HADOOP-7695. RPC.stopProxy can throw unintended exception while logging error (atm) + HADOOP-7721. Add log before login in KerberosAuthenticationHandler. (jitendra) + Release 0.23.0 - Unreleased INCOMPATIBLE CHANGES