Sven, What version of Accumulo are you running? We have a ticket for this [1] which has had a lot of discussion on it. Christopher Tubbs mentioned that he had gotten this to work.
[1] https://issues.apache.org/jira/browse/ACCUMULO-1378 On Wed, Sep 16, 2015 at 9:20 AM, Sven Hodapp <sven.hod...@scai.fraunhofer.de > wrote: > Hi there, > > is it possible for MiniAccumuloCluster to reuse a given directory? > Sadly, I haven't found anything in the docs? > > I’ll fire up my instance like this: > > val dict = new File("/tmp/accumulo-mini-cluster") > val accumulo = new MiniAccumuloCluster(dict, "test“) > > If I’ll restart my JVM it will raise a error like this: > > Exception in thread "main" java.lang.IllegalArgumentException: > Directory /tmp/accumulo-mini-cluster is not empty > > It would be nice if the data can survive a JVM restart and the folder > structure must not be constructed every time. > > Thanks a lot! > > Regards, > Sven > > -- > Sven Hodapp M.Sc., > Fraunhofer Institute for Algorithms and Scientific Computing SCAI, > Department of Bioinformatics > Schloss Birlinghoven, 53754 Sankt Augustin, Germany > sven.hod...@scai.fraunhofer.de > www.scai.fraunhofer.de >