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 class UserGroupInformation {
|
||||||
if (now < nextRefresh) {
|
if (now < nextRefresh) {
|
||||||
Thread.sleep(nextRefresh - now);
|
Thread.sleep(nextRefresh - now);
|
||||||
}
|
}
|
||||||
Shell.execCommand(cmd, "-R");
|
String output = Shell.execCommand(cmd, "-R");
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug("renewed ticket");
|
LOG.debug("Renewed ticket. kinit output: {}", output);
|
||||||
}
|
}
|
||||||
reloginFromTicketCache();
|
reloginFromTicketCache();
|
||||||
tgt = getTGT();
|
tgt = getTGT();
|
||||||
|
|
Loading…
Reference in New Issue