hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Haiyang Fu <haiyangfu...@gmail.com>
Subject Re: How to check what is the log directory for container logs
Date Thu, 31 Jul 2014 12:54:44 GMT
1.change to the nodemanager log dir   according to yarn-site.xml
<property>
    <name>yarn.nodemanager.log-dirs</name>
     <value>/path/to/hdfs/nodemanager_log/</value>
    <description>the directories used by Nodemanagers as log
directories</description>
                                               </property>

2. find the running application id and the AM node location
yarn application -list

3.ssh to the node and change to the relative dir

BTW, if you have set some log4j property, maybe you can directly check the
log by yarn commands,


On Thu, Jul 31, 2014 at 8:44 PM, Krishna Kishore Bonagiri <
write2kishore@gmail.com> wrote:

> Hi,
>
>   Is there a way to check what is the log directory for container logs in
> my currently running instance of YARN from the command line, I mean using
> the yarn command or hadoop command or so?
>
> Thanks,
> Kishore
>

Mime
View raw message