Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using JobGateway/ FAQs/ What Should I Do If Jobs Fail to Be Submitted to YARN After JobGateway Is Started for the First Time
Updated on 2025-03-17 GMT+08:00

What Should I Do If Jobs Fail to Be Submitted to YARN After JobGateway Is Started for the First Time

Question

When JobGateway is started 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 Manager page.

Check all JobServer logs and locate "Create and modify launcher-job tenant failed."

Answer

  1. Log in to the active management node as the omm user and run the following command to obtain the tenantID 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="

  2. Run the following command to delete launcher-job. The tenantID 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} '

  3. Log in to FusionInsight Manager, choose Cluster > Services > JobGateway, click Instances, and perform a rolling restart on all JobServer instances.
  4. 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.