What is the purpose of the 'yarn logs -applicationId <app_id>' command?

Answer

To view the logs of a specific application running on YARN

Explanation

The 'yarn logs -applicationId <app_id>' command is used to retrieve and display the aggregated logs for a specific application that has run on the YARN cluster.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list