Github user dashengju commented on the pull request:

    https://github.com/apache/storm/pull/218#issuecomment-61038451
  
    @HeartSaVioR , 
    parent process's exception contains two types: 1) net io error caused; for 
example, subprocess report an error to stderr and exit; 2) parent process's 
handle logic exception.
    as 1), we want to read from stderr to get more information; 
    as 2), as you say, it may not be right way to capture it when only parent 
process raises exception.
    
    @d2r 's suggestion, we should change ShellProcess#getErrorsStream so that 
it checks that there is actually something to read.
    



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