accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: Writing to a table via an iterator
Date Mon, 18 Jul 2016 20:32:52 GMT
Backstory: Dylan and I have had some heated debates on the subject and 
disagree.

Looks like we did get some docs added for this too now that I look more 
closely

http://accumulo.apache.org/1.7/accumulo_user_manual#_take_caution_in_constructing_new_data_in_an_iterator

Dylan Hutchison wrote:
> (Or, you can use follow the Graphulo<https://github.com/Accla/graphulo/>
> library's approach.  See the RemoteWriteIteartor class.)
>
> On Mon, Jul 18, 2016 at 12:39 PM, Josh Elser<josh.elser@gmail.com>  wrote:
>
>> While it may be possible, please do not do this. This is not a designed
>> feature of the Iterator framework and will likely result in a deadlock of
>> the system and/or resources leaks in the Accumulo TabletServers.
>>
>>
>> St. Amour, Leo - 0553 - MITLL wrote:
>>
>>> Good afternoon,
>>>
>>> I am trying to develop a custom iterator that has the ability to write
>>> out data to another table. In the Accumulo book, there is a paragraph
>>> that mentions that this is theoretically possible, however after
>>> searching the internet, I have had no luck learning how this would be
>>> possible. Is there some sort of API that I can use to write to a table
>>> from inside the iterator’s code?
>>>
>>> Thanks,
>>>
>>> Leo
>>>
>

Mime
View raw message