HADOOP-17587. Kinit with keytab should not display the keytab file's full path in any logs. Contributed by Ravuri Sushma sree.
(cherry picked from commit bc7689abf5
)
This commit is contained in:
parent
c60e81b5a8
commit
90bbaca88b
@ -1126,9 +1126,10 @@ static void loginUserFromKeytab(String user,
|
||||
|
||||
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
Block a user