[ https://issues.apache.org/jira/browse/HADOOP-16231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822222#comment-16822222 ]
Siyao Meng commented on HADOOP-16231: ------------------------------------- I can understand that the purpose of loglevel change is to not freak the user out. But could there be some cases where user should actually be warned? A random search gave me this: {code} 17/03/06 12:33:31 WARN kms.LoadBalancingKMSClientProvider: KMS provider at [https://<kms_host>:9393/kms/v1/] threw an IOException!! java.io.IOException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found at org.apache.hadoop.crypto.key.kms.KMSClientProvider.addDelegationTokens(KMSClientProvider.java:1029) ... {code} [Source|https://community.hortonworks.com/questions/87095/service-checks-fails-for-yarnpighivemr-after-enabl.html] Looks like this warning is legit. > 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