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

add client wide timeout setting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.3
    • None
    • client
    • None

    Description

      Currently if Accumulo is down, getConnector will sit indefinitely. This is designed to be tolerant in several processes which wait for Accumulo to come up into a stable state.

      However, for writing client applications, it's horrendous. It provides no ability for the developer to provide feedback to the client. There should be some method to allow ServerClient.executeRaw() to eventually kick out of the infinite loop it currently has. If the developer wants the code to continue infinitely, they can either disregard the flag or wrap the getConnector() code in a loop themselves.

      More generally it would be nice if the user could configure a timeout that would be honored by all client API calls.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vines John Vines
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: