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

Kitti Nanasi commented on HADOOP-16231:
---------------------------------------

Thanks [~xyao] for the comment and for moving the issue to hadoop common!
{quote}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.
{quote}
I agree, but at least it will not show as a warning, which would indicate a 
bigger problem. However I think INFO level is fine here, because even if the 
one of the KMS's could satisfy the request, I would like to see if there was a 
problem with the other one. What do you think?

> 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