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.
    
![image](https://cloud.githubusercontent.com/assets/4263520/4879565/29834344-632d-11e4-99e3-051d1ae627c5.png)
    
    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.
    
![image](https://cloud.githubusercontent.com/assets/4263520/4879593/c0273256-632d-11e4-9af7-c4a8e49d3f64.png)


---
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.
---

Reply via email to