Updated on 2024-08-16 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:
sourceClient 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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot