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

Have RetryInvocationHandler log failover attempt at INFO level

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      RetryInovcationHandler uses worthLogging flag to decide if it will do logging. worthLogging will be false for first fails over given invocationFailoverCount is zero. That addresses the log noise where the second-listed NN is active.

      For other failover scenarios, it will be useful to log the error message at info level for analysis purpose.

        Attachments

        1. HADOOP-10657.patch
          0.9 kB
          Ming Ma
        2. HADOOP-10657-2.patch
          1.0 kB
          Ming Ma

          Activity

            People

            • Assignee:
              mingma Ming Ma
              Reporter:
              mingma Ming Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: