1. steps to reproduce
1) write a topology with a python bolt, run the topology on storm; then there will be two process for the bolt: the worker(java process for ShellBolt), python process.
2）kill -9 the worker(java process for ShellBolt);
2. expected behavior
the worker exit and the python process exist
3. actual, incorrect behavior
the worker exit, but the python process never exist and fall into endless loop
in storm.py，read tuple from stdin with follow function:
msg = ""
line = sys.stdin.readline()[0:-1]
if line == "end":
msg = msg + line + "\n"
when sys.stdin is closed, EOF is encountered, readline() return None, so readMsg fall into endless loop.