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

Wei-Chiu Chuang commented on HADOOP-13458:
------------------------------------------

Hi [~vagarychen] thanks for the quick patch contribution!
In the spirit of code reuse, can you use 
{{StringUtils.stringifyException(ioe))}} instead?

> LoadBalancingKMSClientProvider#doOp should log IOException stacktrace
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-13458
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13458
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: kms
>            Reporter: Wei-Chiu Chuang
>            Assignee: Chen Liang
>            Priority: Trivial
>              Labels: supportability
>         Attachments: HADOOP-13458.001.patch
>
>
> Sometimes it's relatively hard to comprehend the meaning of the exception 
> message without stacktrace. I think we should log the stacktrace too.
> {code}
> LOG.warn("KMS provider at [{}] threw an IOException [{}]!!",
>             provider.getKMSUrl(), ioe.getMessage());
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to