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

Have RetryInvocationHandler log failover attempt at INFO level

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: