Can someone explain what the yarn local and log dirs do?
Hi experts,
I just wanted to confirm my understanding or help me better understand the yarn local and log dirs.
So my understanding is that yarn will download the data locally to a filesystem so that it is more easily accessible when a job is run as well as logs for that particular application. I believe these are temporary files as they will be stored in HDFS after the job completes.
[root@test01 log]# ll /hadoop/yarn/
total 0
drwxr-xr-x. 6 yarn hadoop 78 Oct 13 08:09 local
drwxrwxr-x. 8 yarn hadoop 239 Oct 13 08:09 log
Can someone please help confirm my understanding or help me better understand this concept?
Also what is usually best practice in regards to mounting these directories onto a local filesystem or onto another hard drive or can I have this directory share a hard drive with one of the datanode directories?
Any help is much appreciated.
Thanks,

