apache storm - Failures in spout with no failures in bolts -


please find below stats storm topology.

topology status

relevant info:

  • spout1 emits tuples bolt1
  • bolt1 executes additional tick tuple (that's why doesn't match no of tuple emitted spout1)

below questions:

  1. there 1059 failures in spout, whereas there 3 failures in 1 of downstream bolt
  2. the no of tuples emitted spout1 not match no of tuple acked bolt1 (i have checked code, every tuple acks or fails enters bolt1)

could me understand wrong here. initial guesses are:

  • the topology.max.spout.pending set 20,000. causing kind of buffer overflow. (but if such overflow occurs, bolt not report failure?)
  • could there network issue causing tuple not reach bolt.

your tuples indeed timing out.

look @ average complete latency 49 seconds. means in average each tuple spent 48 seconds inside topology not being processed bolt (if sum average execution time bolts less 1 second... , 49-1=48).

the solution in case change number of tuples @ same time inside topology. therefore should change topology.max.spout.pending value lower 5000. should try several values, think 1000 might trick.

and before ask, increase tuple timeout not solution.

regarding missing tuples on bolt one. sure each incoming tuple tuple produced?

the thing state ack of fail tuple, do produce 1 tuple each tuple receive?


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -