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

In Accumulo 1.7.0, connecting to a minicluster started via bin/accumulo minicluster doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.0
    • 1.7.1, 1.8.0
    • mini
    • None

    Description

      In Accumulo 1.7.0, connecting to a minicluster started via "bin/accumulo minicluster" doesn't work. When connecting, it appears to ignore the ZK port supplied in the command and is attempting to listen to ZK on 2181.

      For example:
      accumulo-1.7.0 > bin/accumulo minicluster

      Mini Accumulo Cluster

      Directory: /var/folders/rv/44k88tps4ql0dc1f68ck4d2w0000gn/T/1437925819514-0
      Logs: /var/folders/rv/44k88tps4ql0dc1f68ck4d2w0000gn/T/1437925819514-0/logs
      Instance Name: miniInstance
      Root Password: secret
      ZooKeeper: localhost:56783
      Shutdown Port: 4445

      To connect with shell, use the following command :
      accumulo shell -zh localhost:56783 -zi miniInstance -u root

      Successfully started on Sun Jul 26 11:50:28 EDT 2015
      ===================

      From a new terminal:

      accumulo-1.7.0 > accumulo shell -zh localhost:56783 -zi miniInstance -u root
      Password: *******
      …. 60 seconds later ….
      2015-07-26 11:52:44,436 [tracer.ZooTraceClient] ERROR: Unabled to get destination tracer hosts
      in ZooKeeper, will retry in 5000 milliseconds
      java.lang.RuntimeException: Failed to connect to zookeeper (localhost:2181) within 2x zookeeper
      timeout period 30000
      at org.apache.accumulo.fate.zookeeper.ZooSession.connect(ZooSession.java:124)

      Shell - Apache Accumulo Interactive Shell
      -

      • version: 1.7.0
      • instance name: miniInstance
      • instance id: a371d4ac-8bc7-4a6a-865f-5f3c8e27fbe1
        -
      • type 'help' for a list of available commands
        -
        root@miniInstance>

      Attachments

        Activity

          People

            elserj Josh Elser
            cdavidson825 Chris Davidson
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 20m
                20m