I don't initiate any thread. I only use the execute method of the bolt, with some high number of parallelization hint.
On Mon, Feb 9, 2015 at 9:24 AM, Bobby Evans <[email protected]> wrote: > If you are emitting from multiple threads then, yes you need to > synchronize around the emit call. This is not a typical use case so we do > not synchronize by default. > > - Bobby > > > On Sunday, February 8, 2015 4:01 AM, clay teahouse < > [email protected]> wrote: > > > Hi All, > > I emit my tuples in batches. Do I need to put the emit in a synchronized > block? The reason I am asking, I am getting the IndexOutOfBoundsException > error once in a while, especially with a high paralleliziation hint. > According to this link, it is a bug in storm, but I am using the latest > storm package. > > > http://stackoverflow.com/questions/19632287/indexoutofboundsexception-in-shuffle-grouping > > > thanks > Clay > > >
