Hi Sumit,
Thanks for the reply. There is no directory with name command-log under
the container directory. This is what is in my yarn-site.xml
<property>
<name>yarn.nodemanager.log-dirs</name>
<value>/hadoop/yarn/log</value>
</property>
And, there is a directory with container name in two places, but there is
nothing with name command-log, please see below.
$ ls
/hadoop/yarn/local/usercache/bigsql/appcache/application_1426808752321_0094/container_1426808752321_0094_01_000002/app/
definition install run
$ ls
/hadoop/yarn/log/application_1426808752321_0094/container_1426808752321_0094_01_000002
command-1.json errors-1.txt output-1.txt slider-agent.log
status_command.json status_command_stdout.txt
command-3.json errors-3.txt output-3.txt slider-agent.out
status_command_stderr.txt
Also, I am not sure where is "${AGENT_LOG_ROOT}" defined. Are we missing
something on that front? Or where else could be the problem.
Thanks,
Kishore
On Tue, Mar 24, 2015 at 7:50 PM, Sumit Mohanty <[email protected]>
wrote:
> The operations log are in per command log files -
> http://slider.incubator.apache.org/developing/debugging.html
>
> Look at the section "
>
> *agent operations log"*
> The doc needs updating in the sense all logs are at the top level log
> folder (e.g. - @
>
> ./log/application_1398098639743_0024/container_1398098639743_0024_01_000003)
>
> On Tue, Mar 24, 2015 at 3:52 AM, Krishna Kishore Bonagiri <
> [email protected]> wrote:
>
> > Hi,
> >
> > I have the following command in my start function in the python script,
> > but the output from the daemon_cmd is not appearing in the container log
> > files.
> >
> > Execute(daemon_cmd,
> > logoutput=True,
> > wait_for_finish=False)
> >
> > But if I run the same command via os.system() as below, the output comes
> > into the container logs.
> >
> > os.system(daemon_cmd)
> >
> > Why is it not happening with Execute command, is there anything missing
> in
> > my call? Please help.
> >
> > Thanks,
> > Kishore
> >
>
>
>
> --
> thanks
> Sumit
>