Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2224

ZooSession should be more robust to transient DNS issues

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0
    • Fix Version/s: 1.4.5, 1.5.1, 1.6.0
    • Component/s: client
    • Labels:
      None
    • Environment:

      1.4.5-SNAP on CDH4 w/gremlins

      Description

      While injecting network faults, I found that transient DNS problems caused us to bail out of ZooSessions rather than retrying as we do for all other IO problems. We should retry these failures just as we do for Connection Refused or other networking problems.

      Since the addition of ACCUMULO-131, we can be sure that we won't retry actual invalid hosts for ever. Instead, after the time out period that holds for all other problems we'll properly exit.

      The warn messages logged for IOExceptions should suffice to indicate improperly specified host names.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                busbey Sean Busbey
                Reporter:
                busbey Sean Busbey
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: