[
https://issues.apache.org/jira/browse/STORM-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karthick Duraisamy Soundararaj updated STORM-1733:
--------------------------------------------------
Description:
bin/storm.py emits the following crucial information that is lost because we
don't flush the stdout before exec.
{code}
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
{code}
Observed Environment:
{code}
OS: CentOS release 6.5
Kernel: 2.6.32-431.el6.x86_64
Python version: Python 2.7.2
{code}
For example, I using runit to start storm components like nimbus, ui, etc and
the problem is applicable to all the components and in all the cases, I am not
seeing logs that are emitted by bin/storm before {{os.execvp}} is called to
actually launch the component.
Please note that in cases where stdout and stderr is terminal, the stdout and
stderr are always flushed and the bug is not applicable.
was:
bin/storm.py emits the following crucial information that is lost because we
don't flush the stdout before exec.
{code}
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
{code}
Observed Environment:
{code}
OS: CentOS release 6.5
Kernel: 2.6.32-431.el6.x86_64
Python version: Python 2.7.2
{code}
For example, I using runit to start storm components like nimbus, ui, etc and
the problem is applicable to all the components and in all the cases, I am not
seeing logs that are emitted by bin/storm before {{os.execvp}} is called to
actually launch the component.
Please note that in cases where stdout and stderr is terminal, this would be a
non issue.
> Logs from bin/storm are lost because stdout and stderr are not flushed
> ----------------------------------------------------------------------
>
> Key: STORM-1733
> URL: https://issues.apache.org/jira/browse/STORM-1733
> Project: Apache Storm
> Issue Type: Bug
> Affects Versions: 0.9.3, 0.10.0, 0.9.4, 0.9.5, 0.9.6
> Reporter: Karthick Duraisamy Soundararaj
> Assignee: Karthick Duraisamy Soundararaj
>
> bin/storm.py emits the following crucial information that is lost because we
> don't flush the stdout before exec.
> {code}
> 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
> {code}
> Observed Environment:
> {code}
> OS: CentOS release 6.5
> Kernel: 2.6.32-431.el6.x86_64
> Python version: Python 2.7.2
> {code}
> For example, I using runit to start storm components like nimbus, ui, etc and
> the problem is applicable to all the components and in all the cases, I am
> not seeing logs that are emitted by bin/storm before {{os.execvp}} is called
> to actually launch the component.
> Please note that in cases where stdout and stderr is terminal, the stdout and
> stderr are always flushed and the bug is not applicable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)