[ https://issues.apache.org/jira/browse/ACCUMULO-3945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Tubbs updated ACCUMULO-3945: ---------------------------------------- Fix Version/s: 1.8.0 > In Accumulo 1.7.0, connecting to a minicluster started via bin/accumulo > minicluster doesn't work > ------------------------------------------------------------------------------------------------ > > Key: ACCUMULO-3945 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3945 > Project: Accumulo > Issue Type: Bug > Components: mini > Affects Versions: 1.7.0 > Reporter: Chris Davidson > Assignee: Josh Elser > Priority: Minor > Fix For: 1.7.1, 1.8.0 > > Time Spent: 20m > Remaining Estimate: 0h > > 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> -- This message was sent by Atlassian JIRA (v6.3.4#6332)