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

FailoverOnNetworkExceptionRetry does not wait when failover on certain exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: None
    • Labels:
      None

      Description

      Below code, when doing failover, it does not wait like other condition does, which leads to a busy loop.

         } else if (e instanceof SocketException
                || (e instanceof IOException && !(e instanceof RemoteException))) {
              if (isIdempotentOrAtMostOnce) {
                return RetryAction.FAILOVER_AND_RETRY;
      

        Attachments

        1. HADOOP-14116.2.patch
          1 kB
          Jian He
        2. HADOOP-14116.1.patch
          1.0 kB
          Jian He

          Activity

            People

            • Assignee:
              jianhe Jian He
              Reporter:
              jianhe Jian He
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: