You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.
I have a bolt A that continuously emits a namedtuple that contains a list that could have thousands of ids in it.
Fields = namedtuple("Fields", "table action ids"), ids is a list that contains thousands of items in it.
The bolt B in the downstream have the error below. My guess is that the namedtuple is overflowing the sys.stdin. Is this possible? What I should do in this case ?
I further checked what it is returned in read_tuple() to cmd. It is 56. 03/31/2015 03:55:13 PM - pyleus.storm.component - read_tuple - INFO: 56
30 03/31/2015 02:56:29 PM - pyleus.storm.component - run - ERROR: Exception in bolt.run
31 Traceback (most recent call last):
32 File "/usr/lib/python2.7/site-packages/pyleus/storm/component.py", line 233, in run
33 self.run_component()
34 File "/usr/lib/python2.7/site-packages/pyleus/storm/bolt.py", line 45, in run_component
35 tup = self.read_tuple()
36 File "/usr/lib/python2.7/site-packages/pyleus/storm/component.py", line 291, in read_tuple
37 cmd['id'], cmd['comp'], cmd['stream'], cmd['task'], cmd['tuple'])
38 TypeError: 'int' object has no attribute '__getitem__'
The text was updated successfully, but these errors were encountered:
Can you try to run it locally and to debug the issue? I run a topology with some tuples in the order of the MB some time ago and it seemed to work fine (with some Storm tweaks).
I have a bolt A that continuously emits a namedtuple that contains a list that could have thousands of ids in it.
Fields = namedtuple("Fields", "table action ids")
, ids is a list that contains thousands of items in it.The bolt B in the downstream have the error below. My guess is that the namedtuple is overflowing the sys.stdin. Is this possible? What I should do in this case ?
I further checked what it is returned in read_tuple() to cmd. It is 56.
03/31/2015 03:55:13 PM - pyleus.storm.component - read_tuple - INFO: 56
The text was updated successfully, but these errors were encountered: