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

Shell fails to connect to ZooKeeper when client.conf doesn't exist

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.3, 1.7.0
    • Component/s: shell
    • Labels:

      Description

      Stood up 1.7.0, forgot to make a client.conf (there wasn't a template included in the example confs).

      Tried to connect to the shell and it just timed out trying to talk to ZooKeeper at the default host of "localhost:2181". I feel like this is a regression against 1.6 because things used to attempt to work by trying to read accumulo-site.xml.

      If we are intentionally not supporting automatic fallback to accumulo-site.xml, we should have a log message that informs the user when we construct a ClientConfiguration without any actual configuration (as that's likely an error).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                elserj Josh Elser
                Reporter:
                elserj Josh Elser
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m