Github user HeartSaVioR commented on the pull request: https://github.com/apache/storm/pull/305#issuecomment-61453891 @dashengju Yes, ShellSpout/Bolt read stderr from subprocess after sending tuple immediately. I'm afraid that this may cannot cover all cases, and ShellBolt could read stderr message after sending "next" tuple if PythonBolt doesn't write stderr immediately. Please remember ShellBolt has no "sync". It just send a message and forget, and doesn't wait for PythonBolt if it has any stderr message regarding that tuple. Btw, it's not related to current PR. It's just my 2 cents, so take your time.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---