[ 
https://issues.apache.org/jira/browse/HADOOP-16019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16732380#comment-16732380
 ] 

Steve Loughran commented on HADOOP-16019:
-----------------------------------------

looks reasonable.

Can you include ex.toString() in the message of the new exception? This 
guarantees that even if that first error message is all that is printed, the 
inner cause is still preserved

> ZKDelegationTokenSecretManager won't log exception message occured in 
> function setJaasConfiguration
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-16019
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16019
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 3.1.0
>            Reporter: luhuachao
>            Priority: Minor
>         Attachments: HADOOP-16019.1.patch
>
>
> * when the config  ZK_DTSM_ZK_KERBEROS_KEYTAB  or 
> ZK_DTSM_ZK_KERBEROS_PRINCIPAL are not set, the IllegalArgumentException 
> message cannot be logged.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to