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

FailoverOnNetworkExceptionRetry does not wait when failover on certain exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • None
    • 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.1.patch
          1.0 kB
          Jian He
        2. HADOOP-14116.2.patch
          1 kB
          Jian He

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: