Updated on 2025-10-23 GMT+08:00
How Do I View Logs of a Specified Yarn Task?
- Log in to the active Master node as user root.
- Run the following command to initialize environment variables:
source Client installation directory/bigdata_env
- If Kerberos authentication is enabled for the cluster, run the following command to authenticate the user. If Kerberos authentication is disabled, skip this step.
kinit MRS cluster user
- Run the following command to obtain the logs of a specified task:
yarn logs -applicationId application_ID of the job you want to view
Parent topic: Job Management
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.