HADOOP-17587. Kinit with keytab should not display the keytab file's full path in any logs. Contributed by Ravuri Sushma sree.
This commit is contained in:
parent
478402cc74
commit
bc7689abf5
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue