You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by br...@apache.org on 2021/04/02 04:35:16 UTC
[hadoop] branch trunk updated (ed74479 -> bc7689a)
This is an automated email from the ASF dual-hosted git repository.
brahma pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git.
from ed74479 HDFS-15222. Correct the "hdfs fsck -list-corruptfileblocks" command output. Contributed by Ravuri Sushma sree.
new 478402c HADOOP-17610. DelegationTokenAuthenticator prints token information. Contributed by Ravuri Sushma sree.
new bc7689a HADOOP-17587. Kinit with keytab should not display the keytab file's full path in any logs. Contributed by Ravuri Sushma sree.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../main/java/org/apache/hadoop/security/UserGroupInformation.java | 7 ++++---
.../token/delegation/web/DelegationTokenAuthenticator.java | 4 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org
[hadoop] 02/02: HADOOP-17587. Kinit with keytab should not display
the keytab file's full path in any logs. Contributed by Ravuri Sushma sree.
Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
brahma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit bc7689abf5723fb6ec763266227801636105f5a1
Author: Brahma Reddy Battula <br...@apache.org>
AuthorDate: Fri Apr 2 10:03:50 2021 +0530
HADOOP-17587. Kinit with keytab should not display the keytab file's full path in any logs. Contributed by Ravuri Sushma sree.
---
.../main/java/org/apache/hadoop/security/UserGroupInformation.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
index cc32dae..7e90b8e 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
@@ -1125,9 +1125,10 @@ public class UserGroupInformation {
setLoginUser(u);
- LOG.info("Login successful for user {} using keytab file {}. Keytab auto" +
- " renewal enabled : {}",
- user, path, isKerberosKeyTabLoginRenewalEnabled());
+ LOG.info(
+ "Login successful for user {} using keytab file {}. Keytab auto"
+ + " renewal enabled : {}",
+ user, new File(path).getName(), isKerberosKeyTabLoginRenewalEnabled());
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org
[hadoop] 01/02: HADOOP-17610. DelegationTokenAuthenticator prints
token information. Contributed by Ravuri Sushma sree.
Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
brahma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit 478402cc740fa21123b2a332d3ac7e66170a5535
Author: Brahma Reddy Battula <br...@apache.org>
AuthorDate: Fri Apr 2 09:56:00 2021 +0530
HADOOP-17610. DelegationTokenAuthenticator prints token information. Contributed by Ravuri Sushma sree.
---
.../security/token/delegation/web/DelegationTokenAuthenticator.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticator.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticator.java
index 8546a76..19427dc 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticator.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticator.java
@@ -138,8 +138,8 @@ public abstract class DelegationTokenAuthenticator implements Authenticator {
try {
// check and renew TGT to handle potential expiration
UserGroupInformation.getCurrentUser().checkTGTAndReloginFromKeytab();
- LOG.debug("No delegation token found for url={}, token={}, "
- + "authenticating with {}", url, token, authenticator.getClass());
+ LOG.debug("No delegation token found for url={}, "
+ + "authenticating with {}", url, authenticator.getClass());
authenticator.authenticate(url, token);
} catch (IOException ex) {
throw NetUtils.wrapException(url.getHost(), url.getPort(),
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org