diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java index 88bd29bd73..dca9e2f915 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java @@ -204,7 +204,7 @@ public ZKDelegationTokenSecretManager(Configuration conf) { .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();