I have enabled logs in the xml file: yarn-site.xml
, and I restarted yarn
by doing:
sudo service hadoop-yarn-resourcemanager restart
sudo service hadoop-yarn-nodemanager restart
I ran my application, and then I see the applicationID
in yarn application -list
. So, I do this: yarn logs -applicationId <application ID>
, and I get the following:
hdfs://<ip address>/var/log/hadoop-yarn/path/to/application/ does not have any log files
Do I need to change some other configuration? Or am I accessing the logs the wrong way?
Thank you.