You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Stephen Hartzell <ha...@gmail.com> on 2014/09/24 16:52:23 UTC
Can Storm Bolts Remember Previous Input?
All,
I am interested in doing image processing on frames. The algorithms I'm
using require that the bolt 'remember' the previous frame. Is this
possible, or is the only information available to the bolt the input it
just received from the previous bolt/spout?
-Thanks, Stephen
Re: Can Storm Bolts Remember Previous Input?
Posted by Olli <ol...@web.de>.
Hi,
but as far as I understand, consider that you need a single instance of
you bolt, otherwise is is not guaranteed that you recieve all your
frames.
Regards
Olli
Am Mittwoch, den 24.09.2014, 10:54 -0400 schrieb Nathan Leung:
> The bolt object persists and you can do whatever you want in it. Just
> save a reference to the frame somewhere and look it up when you
> receive the next tuple.
>
> On Wed, Sep 24, 2014 at 10:52 AM, Stephen Hartzell
> <ha...@gmail.com> wrote:
> All,
>
>
> I am interested in doing image processing on frames. The
> algorithms I'm using require that the bolt 'remember' the
> previous frame. Is this possible, or is the only information
> available to the bolt the input it just received from the
> previous bolt/spout?
>
>
> -Thanks, Stephen
>
>
Re: Can Storm Bolts Remember Previous Input?
Posted by Nathan Leung <nc...@gmail.com>.
The bolt object persists and you can do whatever you want in it. Just save
a reference to the frame somewhere and look it up when you receive the next
tuple.
On Wed, Sep 24, 2014 at 10:52 AM, Stephen Hartzell <
hartzell.stephen@gmail.com> wrote:
> All,
>
> I am interested in doing image processing on frames. The algorithms I'm
> using require that the bolt 'remember' the previous frame. Is this
> possible, or is the only information available to the bolt the input it
> just received from the previous bolt/spout?
>
> -Thanks, Stephen
>