This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ccc4362  HADOOP-16019. ZKDelegationTokenSecretManager won't log 
exception message occured in function setJaasConfiguration.
ccc4362 is described below

commit ccc43621aba4f1fc9ca880e294a66862493805b0
Author: luhuachao <luhuac...@cmss.chinamobile.com>
AuthorDate: Tue Jan 15 13:15:18 2019 +0000

    HADOOP-16019. ZKDelegationTokenSecretManager won't log exception message 
occured in function setJaasConfiguration.
    
    Contributed by luhuachao.
---
 .../security/token/delegation/ZKDelegationTokenSecretManager.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 88bd29b..dca9e2f 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 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();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to