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 < write2kish...@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 >