What Should I Do If Jobs Fail to Be Submitted to YARN After JobGateway Starts for the First Time
Question
When JobGateway starts for the first time, jobs fail to be submitted to YARN, and no launcher-job ID is generated.
On the YARN page, no launcher-job queue is displayed.
Check whether the launcher-job information is displayed on the FusionInsight Manager page.
Check all JobServer logs and locate "Create and modify launcher-job tenant failed."
Answer
- Log in to the active management node as user omm and run the following command to obtain the tenant ID of the launcher-Job tenant:
curl -ki -L -u Username:Password "https://$(hostname -i):9022/mrsmanager/api/v2/clusters/1/tenants/resource_allocation/super_scheduler?resource_pool_name=default&parent_tenant_name=root&limit=10&offset=0&filter="
- Run the following command to delete launcher-job. The tenant ID of launcher-job is the one obtained in 1.
curl -k -i --basic -u admin:{Password} -X DELETE 'https://{omsIp}:28443/web/api/v2/clusters/1/tenants/{Tenant ID of launcher-job}'
- Log in to FusionInsight Manager, choose Cluster > Services > JobGateway, click Instances, and perform a rolling restart on all JobServer instances.
- After the restart is complete, log in to the native YARN page and check whether the launcher-job queue is generated and whether the job can be submitted successfully.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot