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

RPC.waitForProxy should retry through NoRouteToHostException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.21.0, 0.22.0
    • None
    • ipc
    • None
    • Reviewed

    Description

      RPC.waitForProxy already loops through ConnectExceptions, but NoRouteToHostException is not a subclass of ConnectException. In the case that the NN is on a VIP, the No Route To Host error is reasonably common during a failover, so we should retry through it just the same as the other connection errors.

      Attachments

        1. hadoop-6667.txt
          0.9 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: