HADOOP-15382. Log kinit output in credential renewal thread. Contributed by Gabor Bota.
This commit is contained in:
parent
24a5ccbf4b
commit
bff3d7b0cf
@ -866,9 +866,9 @@ public void run() {
|
||||
if (now < nextRefresh) {
|
||||
Thread.sleep(nextRefresh - now);
|
||||
}
|
||||
Shell.execCommand(cmd, "-R");
|
||||
String output = Shell.execCommand(cmd, "-R");
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("renewed ticket");
|
||||
LOG.debug("Renewed ticket. kinit output: {}", output);
|
||||
}
|
||||
reloginFromTicketCache();
|
||||
tgt = getTGT();
|
||||
|
Loading…
Reference in New Issue
Block a user