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

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -