GitHub user dsKarthick opened a pull request: https://github.com/apache/storm/pull/1360
Flush stdout and stderr before calling "os.execvp" to prevent log loss. bin/storm.py emits the following crucial information that is lost because we don't flush the stdout before exec. ``` 2016-04-25T08:23:43.17141 Running: java -server -Dstorm.options= -Dstorm.home= -Xmx1024m -Dlogfile.name=nimbus.log -Dlogback.configurationFile=logback/cluster.xml backtype.storm.ui.core.nimbus ``` Observed Environment: OS: `CentOS release 6.5` Kernel: `2.6.32-431.el6.x86_64` Python version: `Python 2.7.2` You can merge this pull request into a Git repository by running: $ git pull https://github.com/dsKarthick/storm-1 flush_launch_command_to_stderr Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/1360.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1360 ---- commit 17fee522dbcbd4f0e00f886cf17094c761f9831c Author: Karthick Duraisamy Soundararaj <ksoundara...@groupon.com> Date: 2016-04-25T08:54:39Z Flush stdout and stderr before calling "os.execvp" to prevent log loss. ---- --- 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. ---