accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Hodapp <sven.hod...@scai.fraunhofer.de>
Subject Re: Mini Accumulo Cluster reusing the directory
Date Tue, 22 Sep 2015 07:42:36 GMT
Hi Keith,

for me the use cases are:

 * easy and portable development
 * in general testing
 * embedding Accumulo

Especially the last point is for me very insteresting.
First I can deliver a relativly light weight application, which has Accumulo embedded (like
a library).
And then, if the application runs very well and gets many users, it's very easy to scale to
a full Accumulo installation!

Regards,
Sven

-- 
Sven Hodapp M.Sc.,
Fraunhofer Institute for Algorithms and Scientific Computing SCAI,
Department of Bioinformatics
Schloss Birlinghoven, 53754 Sankt Augustin, Germany
sven.hodapp@scai.fraunhofer.de
www.scai.fraunhofer.de

----- Ursprüngliche Mail -----
> Von: "Keith Turner" <keith@deenlo.com>
> An: "user" <user@accumulo.apache.org>
> Gesendet: Mittwoch, 16. September 2015 21:41:00
> Betreff: Re: Mini Accumulo Cluster reusing the directory

> Would you be able to provide more informaiton about your use case?  Was
> wondering if other solutions could be of use, like configuring regular
> Accumulo to use the local filesystem.  This can be done, but care needs to
> be taken to make walogs work correctly.   If interested I could provide
> more info about this configuration.
> 
> On Wed, Sep 16, 2015 at 9:20 AM, Sven Hodapp <sven.hodapp@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.hodapp@scai.fraunhofer.de
>> www.scai.fraunhofer.de

Mime
View raw message