HADOOP-16019. ZKDelegationTokenSecretManager won't log exception message occured in function setJaasConfiguration.

Contributed by luhuachao.
This commit is contained in:
luhuachao 2019-01-15 13:15:18 +00:00 committed by Steve Loughran
parent 614af50625
commit ccc43621ab
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ public abstract class ZKDelegationTokenSecretManager<TokenIdent extends Abstract
.retryPolicy(
new RetryNTimes(numRetries, sessionT / numRetries));
} catch (Exception ex) {
throw new RuntimeException("Could not Load ZK acls or auth");
throw new RuntimeException("Could not Load ZK acls or auth: " + ex, ex);
}
zkClient = builder.ensembleProvider(new FixedEnsembleProvider(connString))
.build();