You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hanisha Koneru (Jira)" <ji...@apache.org> on 2020/07/09 20:20:00 UTC

[jira] [Comment Edited] (HADOOP-17116) Skip Retry INFO logging on first failover from a proxy

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

Hanisha Koneru edited comment on HADOOP-17116 at 7/9/20, 8:19 PM:
------------------------------------------------------------------

{{ObserverReadProxyProvider}} would need to be handled separately. Let's open a new Jira for that.


was (Author: hanishakoneru):
{{ObserverReadProxyProvider}} would need to be handled separately. Let's open a new Jira for that?

> Skip Retry INFO logging on first failover from a proxy
> ------------------------------------------------------
>
>                 Key: HADOOP-17116
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17116
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ha
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>         Attachments: HADOOP-17116.001.patch, HADOOP-17116.002.patch, HADOOP-17116.003.patch
>
>
> RetryInvocationHandler logs an INFO level message on every failover except the first. This used to be ideal before when there were only 2 proxies in the FailoverProxyProvider. But if there are more than 2 proxies (as is possible with 3 or more NNs in HA), then there could be more than one failover to find the currently active proxy.
> To avoid creating noise in clients logs/ console, RetryInvocationHandler should skip logging once for each proxy.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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