accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "St. Amour, Leo - 0553 - MITLL" <Leo.St.Am...@ll.mit.edu>
Subject Re: Writing to a table via an iterator
Date Tue, 19 Jul 2016 13:32:42 GMT
It sounds like the RemoteWriteIterator is similar to what I would need.

Thanks for the tip and for pointing me towards the documentation/caution.

Leo

On 2016-07-18 16:32 (-0400), Josh Elser <j...@gmail.com<mailto:j...@gmail.com>>
wrote:
> 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<jo...@gmail.com<mailto:jo...@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\u2019s code?>
> >>>>
> >>> Thanks,>
> >>>>
> >>> Leo>
> >>>>
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message