Github user dashengju commented on the pull request:
https://github.com/apache/storm/pull/305#issuecomment-61447792
@HeartSaVioR
yes, there is a chance to occur that subprocess writes stderr for some
reason but parent process runs well without Exception. When this happens,
parent process will check, and log then to log system.
Below is the ShellBolt and PythonBolt communication flow. As you can see,
when the ShellBolt send a tuple to Python, it will read from stderr(call
logErrorStream()) to see anything to log, and log info them.

Below is the ShellSpout and PythonSpout communication flow. When the
ShellSpout ask for a new tuple, it will read from stderr(call logErrorStream())
to see anything to log, and log info them.

---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---