accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Wells <awe...@clearedgeit.com>
Subject Re: Mini Accumulo Cluster reusing the directory
Date Wed, 16 Sep 2015 14:40:52 GMT
btw, my solution revolved around this issue:
https://issues.apache.org/jira/browse/ACCUMULO-2851

which let users save their data off somewhere, then load it into the new
mac cluster

On Wed, Sep 16, 2015 at 10:37 AM, Andrew Wells <awells@clearedgeit.com>
wrote:

> I created a util for doing this, but i haven't worked on it in a while...
>
> You could see if it still works
>
> https://github.com/agwells0714/AccumuloDeveloperUtil
>
> On Wed, Sep 16, 2015 at 10:31 AM, Corey Nolet <cjnolet@gmail.com> wrote:
>
>> 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.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
>>>
>>
>>
>
>
> --
> *Andrew George Wells*
> *Software Engineer*
> *awells@clearedgeit.com <awells@clearedgeit.com>*
>
>


-- 
*Andrew George Wells*
*Software Engineer*
*awells@clearedgeit.com <awells@clearedgeit.com>*

Mime
View raw message