Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17116

Skip Retry INFO logging on first failover from a proxy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0, 2.10.2, 3.2.4, 3.3.5
    • ha
    • None

    Description

      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.

      Attachments

        1. HADOOP-17116.001.patch
          2 kB
          Hanisha Koneru
        2. HADOOP-17116.002.patch
          2 kB
          Hanisha Koneru
        3. HADOOP-17116.003.patch
          2 kB
          Hanisha Koneru

        Issue Links

          Activity

            People

              hanishakoneru Hanisha Koneru
              hanishakoneru Hanisha Koneru
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: