Skip to main content
rashm
Bronze ⭐️⭐️⭐️
May 10, 2021 4:19 AM UTC
Question

Where can i find the spark logs on local disk?

Hey I need to find the yarn logs on the local disk. Where I can find the logs ? Also can I see the log id manually in log files?

1 reply

ChethanYM
Gold ⭐️
Gold ⭐️
May 20, 2021 3:07 AM UTC

Hi,

Not sure this info is available.

1. you can check the yarn application logs in hdfs under /tmp/logs you can find this exact path by going to Cloudera manager -> Yarn -> Configuration -> yarn.nodemanager.remote-app-log-dir

 

2. If you have an application id you can just collect the logs manually with below command:

   ##  yarn logs -applicationId <application ID>  > applogs.txt

 

Translate