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
Related questions
Which Flume Channel is suitable for high-throughput, low-latency scenarios where some data loss is acceptable?
View question →
Which of the following describes a 'narrow transformation' in Spark?
View question →
What is the command to stop all Hadoop HDFS daemons?
View question →
Which of the following is a common use case for Apache Pig in the Hadoop ecosystem?
View question →
What is the primary difference between a 'transformation' and an 'action' in Spark?
View question →
Which command is used to drop an existing table in Hive?
View question →