Follow

How to collect Yarn logs from failing job

Directions for collecting YARN logs from a specific failing job:

1.  Access the Ambari Dashboard (http://<FQDN_AmbariMachine:8080)

Screen_Shot_2018-07-03_at_2.31.03_PM.png

2. Click on YARN from the left hand side of the screen

Screen_Shot_2018-07-03_at_2.31.03_PM.png

3.  AT the top of the screen click Quick Links

4.  Click Resource Manager UI

Screen_Shot_2018-07-03_at_2.48.49_PM.png

5.  From here, copy the application id name of the job that is failing

6.  From the Master node, run the following command replacing the application_id with the one copied.  Be sure you copied the entire number including the application_id at the beginning of  the identifier

sudo -u yarn yarn logs --applicationId app_id_goes_here > outputfile.log

7.  Collect the file created and send to support as requested.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments