tencent cloud

Elastic MapReduce

Release Notes and Announcements
Release Notes
Announcements
Security Announcements
Product Introduction
Overview
Strengths
Architecture
Features
Use Cases
Constraints and Limits
Technical Support Scope
Product release
Purchase Guide
EMR on CVM Billing Instructions
EMR on TKE Billing Instructions
EMR Serverless HBase Billing Instructions
Getting Started
EMR on CVM Quick Start
EMR on TKE Quick Start
EMR on CVM Operation Guide
Planning Cluster
Administrative rights
Configuring Cluster
Managing Cluster
Managing Service
Monitoring and Alarms
TCInsight
EMR on TKE Operation Guide
Introduction to EMR on TKE
Configuring Cluster
Cluster Management
Service Management
Monitoring and Ops
Application Analysis
EMR Serverless HBase Operation Guide
EMR Serverless HBase Product Introduction
Quotas and Limits
Planning an Instance
Managing an Instance
Monitoring and Alarms
Development Guide
EMR Development Guide
Hadoop Development Guide
Spark Development Guide
Hbase Development Guide
Phoenix on Hbase Development Guide
Hive Development Guide
Presto Development Guide
Sqoop Development Guide
Hue Development Guide
Oozie Development Guide
Flume Development Guide
Kerberos Development Guide
Knox Development Guide
Alluxio Development Guide
Kylin Development Guide
Livy Development Guide
Kyuubi Development Guide
Zeppelin Development Guide
Hudi Development Guide
Superset Development Guide
Impala Development Guide
Druid Development Guide
TensorFlow Development Guide
Kudu Development Guide
Ranger Development Guide
Kafka Development Guide
Iceberg Development Guide
StarRocks Development Guide
Flink Development Guide
JupyterLab Development Guide
MLflow Development Guide
Practical Tutorial
Practice of EMR on CVM Ops
Data Migration
Practical Tutorial on Custom Scaling
API Documentation
History
Introduction
API Category
Cluster Resource Management APIs
Cluster Services APIs
User Management APIs
Data Inquiry APIs
Scaling APIs
Configuration APIs
Other APIs
Serverless HBase APIs
YARN Resource Scheduling APIs
Making API Requests
Data Types
Error Codes
FAQs
EMR on CVM
Service Level Agreement
Contact Us

DescribeResourceSchedule

PDF
Focus Mode
Font Size
Last updated: 2025-11-13 20:49:12

1. API Description

Domain name for API request: emr.intl.tencentcloudapi.com.

This API is used to query YARN resource scheduling information. It has been deprecated. You can use the DescribeYarnQueue API to query queue information.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeResourceSchedule.
Version Yes String Common Params. The value used for this API: 2019-01-03.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
InstanceId Yes String EMR cluster ID

3. Output Parameters

Parameter Name Type Description
OpenSwitch Boolean Whether to enable the resource scheduling feature
Scheduler String The resource scheduler in service
FSInfo String Fair Scheduler information
CSInfo String Capacity Scheduler information
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 test

Input Example

POST / HTTP/1.1
Host: emr.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeResourceSchedule
<Common request parameters>

{
    "InstanceId": "emr-123"
}

Output Example

{
    "Response": {
        "CSInfo": "{\"schedulerInfo\":{\"queueMappings\":null,\"queue\":{\"name\":\"root\",\"myId\":\"root\",\"parentId\":\"root\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":100,\"maximum-capacity\":100}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":null,\"maximum-allocation-vcores\":null,\"maximum-applications\":null,\"maximum-am-resource-percent\":null,\"default-application-priority\":null}],\"state\":null,\"default-node-label-expression\":null,\"acl_submit_applications\":null,\"acl_administer_queue\":null,\"isDefault\":null,\"isRoot\":true,\"queues\":[{\"name\":\"default\",\"myId\":\"root.default\",\"parentId\":\"root\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":13,\"maximum-capacity\":50}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":1,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":null,\"maximum-am-resource-percent\":null,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":true,\"isRoot\":null,\"queues\":[]},{\"name\":\"reserve\",\"myId\":\"root.reserve\",\"parentId\":\"root\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":1,\"maximum-capacity\":30}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"sghyzt\",\"myId\":\"root.sghyzt\",\"parentId\":\"root\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":3,\"maximum-capacity\":12}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"sgjf\",\"myId\":\"root.sgjf\",\"parentId\":\"root\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":13,\"maximum-capacity\":30}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[{\"name\":\"sgjfoffline\",\"myId\":\"root.sgjf.sgjfoffline\",\"parentId\":\"root.sgjf\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":23,\"maximum-capacity\":23}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"sgjfonline\",\"myId\":\"root.sgjf.sgjfonline\",\"parentId\":\"root.sgjf\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":77,\"maximum-capacity\":98}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]}]},{\"name\":\"toB\",\"myId\":\"root.toB\",\"parentId\":\"root\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":40,\"maximum-capacity\":50}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[{\"name\":\"bi\",\"myId\":\"root.toB.bi\",\"parentId\":\"root.toB\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":25,\"maximum-capacity\":50}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"breserve\",\"myId\":\"root.toB.breserve\",\"parentId\":\"root.toB\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":5,\"maximum-capacity\":20}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"sjjh\",\"myId\":\"root.toB.sjjh\",\"parentId\":\"root.toB\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":25,\"maximum-capacity\":75}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"tzzt\",\"myId\":\"root.toB.tzzt\",\"parentId\":\"root.toB\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":18,\"maximum-capacity\":50}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"wbsj\",\"myId\":\"root.toB.wbsj\",\"parentId\":\"root.toB\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":2,\"maximum-capacity\":10}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"zgpt\",\"myId\":\"root.toB.zgpt\",\"parentId\":\"root.toB\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":25,\"maximum-capacity\":75}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]}]},{\"name\":\"toC\",\"myId\":\"root.toC\",\"parentId\":\"root\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":30,\"maximum-capacity\":35}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[{\"name\":\"bingsheng\",\"myId\":\"root.toC.bingsheng\",\"parentId\":\"root.toC\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":49,\"maximum-capacity\":90}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"cdp\",\"myId\":\"root.toC.cdp\",\"parentId\":\"root.toC\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":33,\"maximum-capacity\":40}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"creserve\",\"myId\":\"root.toC.creserve\",\"parentId\":\"root.toC\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":10,\"maximum-capacity\":10}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"ma\",\"myId\":\"root.toC.ma\",\"parentId\":\"root.toC\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":7,\"maximum-capacity\":10}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":[]},{\"name\":\"ksfw\",\"myId\":\"root.toC.ksfw\",\"parentId\":\"root.toC\",\"configs\":[{\"configName\":\"default\",\"labels\":[{\"labelName\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"capacity\":1,\"maximum-capacity\":1}],\"minimum-user-limit-percent\":null,\"user-limit-factor\":null,\"maximum-allocation-mb\":32768,\"maximum-allocation-vcores\":2,\"maximum-applications\":10000,\"maximum-am-resource-percent\":0.25,\"default-application-priority\":null}],\"state\":\"RUNNING\",\"default-node-label-expression\":null,\"acl_submit_applications\":{\"user\":\"*\",\"group\":\"*\"},\"acl_administer_queue\":{\"user\":\"*\",\"group\":\"*\"},\"isDefault\":null,\"isRoot\":null,\"queues\":null}]}]},\"queueMappingsOverride\":null,\"defaultSettings\":{},\"version\":\"v2\"},\"labelSwitchInfo\":{\"enableLabel\":false,\"labelDir\":null,\"State\":1},\"labelInfo\":{\"labels\":[{\"name\":\"\\u003cDEFAULT_PARTITION\\u003e\",\"labelState\":1,\"unDeletable\":true,\"canNotChangeExclusive\":true,\"exclusive\":true,\"nodes\":null}],\"hasDraft\":false},\"hasDraft\":false}",
        "FSInfo": "{\"schedulerInfo\":{\"users\":null,\"userMaxAppsDefault\":null,\"queuePlacementPolicy\":null,\"queues\":[{\"name\":\"root\",\"type\":null,\"aclSubmitApps\":null,\"aclAdministerApps\":null,\"minSharePreemptionTimeout\":null,\"fairSharePreemptionTimeout\":null,\"fairSharePreemptionThreshold\":null,\"allowPreemptionFrom\":null,\"schedulingPolicy\":null,\"isDefault\":null,\"isRoot\":true,\"configSets\":[{\"name\":\"default\",\"minResources\":null,\"maxResources\":null,\"maxChildResources\":null,\"maxRunningApps\":null,\"weight\":null,\"maxAMShare\":-1}],\"queues\":[{\"name\":\"default\",\"type\":null,\"aclSubmitApps\":null,\"aclAdministerApps\":null,\"minSharePreemptionTimeout\":null,\"fairSharePreemptionTimeout\":null,\"fairSharePreemptionThreshold\":null,\"allowPreemptionFrom\":null,\"schedulingPolicy\":null,\"isDefault\":true,\"isRoot\":null,\"configSets\":[{\"name\":\"default\",\"minResources\":null,\"maxResources\":null,\"maxChildResources\":null,\"maxRunningApps\":null,\"weight\":null,\"maxAMShare\":null}],\"queues\":null}]}]},\"hasDraft\":false,\"plans\":[{\"repeatType\":\"\",\"scheduleName\":\"default\",\"startTime\":\"\",\"duration\":null,\"daysOfRepeat\":null,\"isDefault\":true,\"disable\":false}]}",
        "OpenSwitch": true,
        "RequestId": "69baff80-b6d4-44e7-a504-84bcb9f90b6f",
        "Scheduler": "{\"Name\":\"capacity\",\"FlowId\":null}"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error.
InternalError.CamCgwError An error occurred while calling another service API.
InternalError.WoodServerError An error occurred while calling another service API.
InvalidParameter Invalid parameter.
InvalidParameter.InvalidInstanceName Invalid cluster name.
ResourceNotFound.InstanceNotFound The instance was not found.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback