You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2019/01/15 13:16:16 UTC

[hadoop] branch branch-3.2 updated: HADOOP-16019. ZKDelegationTokenSecretManager won't log exception message occured in function setJaasConfiguration.

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

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


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

commit 18becec5484678611861df9bd88fcc0fb80f081f
Author: luhuachao <lu...@cmss.chinamobile.com>
AuthorDate: Tue Jan 15 13:16:07 2019 +0000

    HADOOP-16019. ZKDelegationTokenSecretManager won't log exception message occured in function setJaasConfiguration.
    
    Contributed by luhuachao.
    
    (cherry picked from commit ccc43621aba4f1fc9ca880e294a66862493805b0)
---
 .../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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org