accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher <ctubb...@apache.org>
Subject Re: Mini Accumulo Cluster reusing the directory
Date Wed, 16 Sep 2015 18:32:26 GMT
The class I created is included in Accumulo (since 1.6?), but only enables
connecting to an existing mini instance based on its directory. It doesn't
enable restarting mini.

On Wed, Sep 16, 2015, 11:40 Corey Nolet <cjnolet@gmail.com> wrote:

> Christopher, my reply to Sven was just going off of your last comment on
> the ticket. Perhaps I misread the comment.
>
> On Wed, Sep 16, 2015 at 10:50 AM, Christopher <ctubbsii@apache.org> wrote:
>
>> Hi Sven, I think Corey was mistaken. I don't recall working on that,
>> exactly.
>>
>> On Wed, Sep 16, 2015, 10:40 Sven Hodapp <sven.hodapp@scai.fraunhofer.de>
>> wrote:
>>
>>> Hi Corey,
>>>
>>> thanks for your reply and the link. Sounds good, if that will be
>>> available in the future!
>>> Is the code from Christopher somewhere deployed?
>>>
>>> Currently I'm using version 1.7
>>>
>>> Regards,
>>> Sven
>>>
>>> ----- Ursprüngliche Mail -----
>>> > Von: "Corey Nolet" <cjnolet@gmail.com>
>>> > An: "user" <user@accumulo.apache.org>
>>> > Gesendet: Mittwoch, 16. September 2015 16:31:02
>>> > Betreff: Re: Mini Accumulo Cluster reusing the directory
>>>
>>> > 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
>>>
>>
>

Mime
View raw message