java - ZooKeeperBindException when starting MiniAccumuloCluster -
i'm attempting start miniaccumulocluster testing described in accumulo docs:
temporaryfolder folder= new temporaryfolder(); file temp_dir = folder.newfolder("accumulotempfolder"); miniaccumulocluster accumulo = new miniaccumulocluster(tempdirectory, "password"); accumulo.start(); instance instance = new zookeeperinstance(accumulo.getinstancename(), accumulo.getzookeepers()); connector conn = instance.getconnector("root", new passwordtoken("password")); when calling accumulo.start(), zookeeperbindexception thrown because "zookeeper did not start within 20 seconds." documentation , usage notes miniaccumulocluster seem sparse - can me understand what's going wrong here? assumed of zookeeper configuration being handled under covers of miniaccumulocluster i'm not sure start looking solution.
Comments
Post a Comment