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

Failure handling and retry for performFailover in RetryInvocationHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      In RetryInvocationHandler, when the method invocation fails, we reply on FailoverProxyProvider to performFailover and get a new proxy, so that we can retry the method invocation.

      However, the performFailover and get new proxy itself might fail (throw exception or return null proxy). This is not handled properly currently, we end up throwing the exception out of the while loop. Instead, we should catch the exception (or check for null proxy) and retry performFailover again, until the max fail over count reaches the maximum.

      Attachments

        Activity

          People

            botong Botong Huang
            botong Botong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: