HADOOP-16019. ZKDelegationTokenSecretManager won't log exception message occured in function setJaasConfiguration.
Contributed by luhuachao.
This commit is contained in:
parent
614af50625
commit
ccc43621ab
@ -204,7 +204,7 @@ public ZKDelegationTokenSecretManager(Configuration conf) {
|
|||||||
.retryPolicy(
|
.retryPolicy(
|
||||||
new RetryNTimes(numRetries, sessionT / numRetries));
|
new RetryNTimes(numRetries, sessionT / numRetries));
|
||||||
} catch (Exception ex) {
|
} 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))
|
zkClient = builder.ensembleProvider(new FixedEnsembleProvider(connString))
|
||||||
.build();
|
.build();
|
||||||
|
Loading…
Reference in New Issue
Block a user