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

Xiaoyu Yao edited comment on HADOOP-16231 at 4/2/19 3:46 PM:
-------------------------------------------------------------

Thanks [~knanasi] for reporting the issue and fixed it. Usually, the default 
log4j.properties set the default log level to INFO. If that is the case, 
changing the log level in LBKMSCP from WARN to INFO may not reduce the amount 
of log produced as expected. 


was (Author: xyao):
Thanks [~knanasi] for reporting the issue and fixed it. Patch LGTM, +1 and I 
will commit it shortly.

> Reduce KMS error logging severity from WARN to INFO
> ---------------------------------------------------
>
>                 Key: HADOOP-16231
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16231
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: kms
>    Affects Versions: 3.2.0
>            Reporter: Kitti Nanasi
>            Assignee: Kitti Nanasi
>            Priority: Trivial
>         Attachments: HDFS-14404.001.patch
>
>
> When the KMS is deployed as an HA service and a failure occurs the current 
> error severity in the client code appears to be WARN. It can result in 
> excessive errors despite the fact that another instance may succeed.
> Maybe this log level can be adjusted in only the load balancing provider.
> {code}
> 19/02/27 05:10:10 WARN kms.LoadBalancingKMSClientProvider: KMS provider at 
> [https://example.com:16000/kms/v1/] threw an IOException 
> [java.net.ConnectException: Connection refused (Connection refused)]!!
> 19/02/12 20:50:09 WARN kms.LoadBalancingKMSClientProvider: KMS provider at 
> [https://example.com:16000/kms/v1/] threw an IOException:
> java.io.IOException: java.lang.reflect.UndeclaredThrowableException
> {code}



--
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