tccli-intl-en 3.0.1237.1__py2.py3-none-any.whl → 3.0.1282.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +17 -1
- tccli/services/advisor/advisor_client.py +8 -2
- tccli/services/aiart/aiart_client.py +4 -1
- tccli/services/ams/ams_client.py +16 -4
- tccli/services/antiddos/antiddos_client.py +280 -70
- tccli/services/apigateway/apigateway_client.py +372 -93
- tccli/services/apm/apm_client.py +52 -13
- tccli/services/asr/asr_client.py +8 -2
- tccli/services/autoscaling/autoscaling_client.py +232 -58
- tccli/services/autoscaling/v20180419/api.json +1 -1
- tccli/services/batch/batch_client.py +112 -28
- tccli/services/bi/bi_client.py +1242 -4
- tccli/services/bi/v20220105/api.json +5340 -107
- tccli/services/bi/v20220105/examples.json +196 -1
- tccli/services/billing/billing_client.py +168 -42
- tccli/services/cam/cam_client.py +324 -81
- tccli/services/captcha/captcha_client.py +4 -1
- tccli/services/car/car_client.py +132 -33
- tccli/services/cbs/cbs_client.py +152 -38
- tccli/services/ccc/ccc_client.py +732 -98
- tccli/services/ccc/v20200210/api.json +1727 -196
- tccli/services/ccc/v20200210/examples.json +64 -0
- tccli/services/cdb/cdb_client.py +532 -133
- tccli/services/cdc/cdc_client.py +80 -20
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +176 -44
- tccli/services/cdwdoris/cdwdoris_client.py +308 -77
- tccli/services/cdwpg/cdwpg_client.py +96 -24
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +64 -16
- tccli/services/cfs/cfs_client.py +156 -39
- tccli/services/cfw/cfw_client.py +264 -66
- tccli/services/chdfs/chdfs_client.py +116 -29
- tccli/services/ciam/ciam_client.py +64 -16
- tccli/services/ckafka/ckafka_client.py +575 -77
- tccli/services/ckafka/v20190819/api.json +2749 -1470
- tccli/services/ckafka/v20190819/examples.json +209 -155
- tccli/services/clb/clb_client.py +332 -83
- tccli/services/clb/v20180317/api.json +29 -14
- tccli/services/cloudaudit/cloudaudit_client.py +72 -18
- tccli/services/cls/cls_client.py +348 -87
- tccli/services/cmq/cmq_client.py +12 -801
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +24 -6
- tccli/services/controlcenter/controlcenter_client.py +4 -1
- tccli/services/csip/csip_client.py +136 -34
- tccli/services/ctsdb/ctsdb_client.py +8 -2
- tccli/services/cvm/cvm_client.py +627 -110
- tccli/services/cvm/v20170312/api.json +750 -340
- tccli/services/cvm/v20170312/examples.json +105 -59
- tccli/services/cwp/cwp_client.py +1860 -465
- tccli/services/cynosdb/cynosdb_client.py +1749 -439
- tccli/services/cynosdb/v20190107/api.json +11763 -7697
- tccli/services/cynosdb/v20190107/examples.json +132 -4
- tccli/services/dataintegration/dataintegration_client.py +4 -1
- tccli/services/dayu/dayu_client.py +412 -103
- tccli/services/dbbrain/dbbrain_client.py +168 -42
- tccli/services/dc/dc_client.py +72 -18
- tccli/services/dcdb/dcdb_client.py +248 -62
- tccli/services/dlc/dlc_client.py +756 -111
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +8 -2
- tccli/services/dnspod/dnspod_client.py +353 -74
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +96 -24
- tccli/services/dts/dts_client.py +332 -83
- tccli/services/eb/eb_client.py +104 -26
- tccli/services/ecdn/ecdn_client.py +60 -15
- tccli/services/ecm/ecm_client.py +496 -124
- tccli/services/eiam/eiam_client.py +160 -40
- tccli/services/emr/emr_client.py +2784 -115
- tccli/services/emr/v20190103/api.json +14647 -4756
- tccli/services/emr/v20190103/examples.json +408 -40
- tccli/services/es/es_client.py +84 -21
- tccli/services/facefusion/facefusion_client.py +12 -3
- tccli/services/faceid/faceid_client.py +76 -19
- tccli/services/faceid/v20180301/api.json +79 -14
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +352 -88
- tccli/services/gme/gme_client.py +40 -10
- tccli/services/gpm/gpm_client.py +72 -18
- tccli/services/gse/gse_client.py +88 -22
- tccli/services/gwlb/gwlb_client.py +72 -18
- tccli/services/iai/iai_client.py +116 -29
- tccli/services/iap/iap_client.py +24 -6
- tccli/services/ims/ims_client.py +4 -1
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +168 -42
- tccli/services/intlpartnersmgt/v20220928/api.json +11 -11
- tccli/services/iotcloud/iotcloud_client.py +80 -20
- tccli/services/ip/ip_client.py +24 -6
- tccli/services/kms/kms_client.py +272 -68
- tccli/services/lcic/lcic_client.py +212 -53
- tccli/services/lighthouse/lighthouse_client.py +296 -74
- tccli/services/lighthouse/v20200324/api.json +14 -14
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/live_client.py +480 -120
- tccli/services/lke/lke_client.py +360 -90
- tccli/services/lke/v20231130/api.json +182 -39
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +546 -0
- tccli/services/lkeap/v20240522/api.json +855 -0
- tccli/services/lkeap/v20240522/examples.json +72 -0
- tccli/services/mariadb/mariadb_client.py +200 -50
- tccli/services/mdc/mdc_client.py +72 -18
- tccli/services/mdl/mdl_client.py +132 -33
- tccli/services/mdl/v20200326/api.json +186 -12
- tccli/services/mdl/v20200326/examples.json +16 -16
- tccli/services/mdp/mdp_client.py +680 -70
- tccli/services/mdp/v20200527/api.json +748 -23
- tccli/services/mdp/v20200527/examples.json +143 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +340 -29
- tccli/services/mongodb/v20190725/api.json +811 -226
- tccli/services/mongodb/v20190725/examples.json +54 -22
- tccli/services/monitor/monitor_client.py +864 -152
- tccli/services/monitor/v20180724/api.json +657 -8
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +592 -92
- tccli/services/mps/v20190612/api.json +2931 -399
- tccli/services/mps/v20190612/examples.json +64 -14
- tccli/services/msp/msp_client.py +28 -7
- tccli/services/ocr/ocr_client.py +212 -45
- tccli/services/ocr/v20181119/api.json +872 -112
- tccli/services/ocr/v20181119/examples.json +12 -4
- tccli/services/omics/omics_client.py +80 -20
- tccli/services/organization/organization_client.py +464 -116
- tccli/services/postgres/postgres_client.py +364 -91
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +124 -31
- tccli/services/pts/pts_client.py +192 -48
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +4 -1
- tccli/services/redis/redis_client.py +592 -106
- tccli/services/redis/v20180412/api.json +636 -240
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/region_client.py +12 -3
- tccli/services/rum/rum_client.py +240 -60
- tccli/services/scf/scf_client.py +168 -42
- tccli/services/ses/ses_client.py +116 -29
- tccli/services/sms/sms_client.py +72 -18
- tccli/services/sqlserver/sqlserver_client.py +3772 -387
- tccli/services/sqlserver/v20180328/api.json +9760 -3380
- tccli/services/sqlserver/v20180328/examples.json +478 -18
- tccli/services/ssl/ssl_client.py +152 -38
- tccli/services/ssm/ssm_client.py +96 -24
- tccli/services/sts/sts_client.py +20 -5
- tccli/services/tag/tag_client.py +120 -30
- tccli/services/tat/tat_client.py +76 -19
- tccli/services/tbaas/tbaas_client.py +16 -4
- tccli/services/tcaplusdb/tcaplusdb_client.py +208 -52
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +4 -1
- tccli/services/tcmpp/tcmpp_client.py +416 -104
- tccli/services/tcr/tcr_client.py +304 -76
- tccli/services/tcsas/tcsas_client.py +236 -59
- tccli/services/tcsas/v20250106/api.json +155 -79
- tccli/services/tcsas/v20250106/examples.json +3 -3
- tccli/services/tcss/tcss_client.py +1320 -330
- tccli/services/tdid/tdid_client.py +192 -48
- tccli/services/tdmq/tdmq_client.py +376 -94
- tccli/services/tem/tem_client.py +224 -56
- tccli/services/teo/teo_client.py +1127 -245
- tccli/services/teo/v20220901/api.json +382 -58
- tccli/services/teo/v20220901/examples.json +24 -0
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +204 -51
- tccli/services/tke/tke_client.py +552 -138
- tccli/services/tms/tms_client.py +4 -1
- tccli/services/tmt/tmt_client.py +4 -1
- tccli/services/trabbit/trabbit_client.py +116 -29
- tccli/services/trro/trro_client.py +76 -19
- tccli/services/trtc/trtc_client.py +420 -55
- tccli/services/trtc/v20190722/api.json +685 -23
- tccli/services/trtc/v20190722/examples.json +39 -7
- tccli/services/tts/tts_client.py +4 -1
- tccli/services/vclm/vclm_client.py +8 -2
- tccli/services/vm/vm_client.py +16 -4
- tccli/services/vod/v20180717/examples.json +1 -1
- tccli/services/vod/vod_client.py +716 -179
- tccli/services/vpc/v20170312/api.json +970 -75
- tccli/services/vpc/v20170312/examples.json +106 -10
- tccli/services/vpc/vpc_client.py +1876 -361
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1051 -147
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +5830 -1026
- tccli/services/yunjing/yunjing_client.py +284 -71
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/RECORD +214 -192
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/top_level.txt +0 -0
|
@@ -1,19 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"actions": {
|
|
3
|
+
"AddMetricScaleStrategy": [
|
|
4
|
+
{
|
|
5
|
+
"document": " ",
|
|
6
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddMetricScaleStrategy\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StrategyType\": 0,\n \"LoadAutoScaleStrategy\": {\n \"CalmDownTime\": 0,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GroupId\": 109,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 0\n }\n ],\n \"LoadMetrics\": \"AvailableMB#root\",\n \"MetricId\": 3,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"Priority\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"ScaleAction\": 2,\n \"ScaleNum\": 1,\n \"StrategyName\": \"Parallel Load-re04\",\n \"StrategyStatus\": 1\n },\n \"TimeAutoScaleStrategy\": {\n \"CompensateFlag\": 0,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GroupId\": 27,\n \"IntervalTime\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"RepeatStrategy\": {\n \"Expire\": \"2025-11-05 23:59:59\",\n \"NotRepeat\": {\n \"ExecuteAt\": \"2024-11-05 14:43:00\"\n },\n \"RepeatType\": \"NONE\"\n },\n \"Priority\": 0,\n \"RetryValidTime\": 60,\n \"ScaleAction\": 1,\n \"ScaleNum\": 10,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyName\": \"add\",\n \"StrategyStatus\": 1,\n \"TerminatePolicy\": \"DEFAULT\"\n }\n}",
|
|
7
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e3f82d54-6fa6-49c2-a479-8d2f5cf77f91\"\n }\n}",
|
|
8
|
+
"title": "Adding a Successful Instance of Scaling Rules"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"AddNodeResourceConfig": [
|
|
12
|
+
{
|
|
13
|
+
"document": " ",
|
|
14
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddNodeResourceConfig\n<Common request parameters>\n\n{\n \"HardwareResourceType\": \"HOST\",\n \"InstanceId\": \"emr-llp6c58v\",\n \"PayMode\": 0,\n \"ResourceConfig\": {\n \"Cpu\": 4,\n \"DiskSize\": 0,\n \"DiskType\": \"CLOULD_SSD\",\n \"InstanceType\": \"SA5.LARGE16\",\n \"MemSize\": 16384,\n \"MultiDisks\": [],\n \"Spec\": \"SA5\",\n \"StorageType\": 0\n },\n \"ResourceType\": \"TASK\",\n \"ZoneId\": 100007\n}",
|
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f0f11d21-6d0d-4f73-9177-8ae4ec456068\"\n }\n}",
|
|
16
|
+
"title": "Adding the Node Specification Configuration of the Current Cluster"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
3
19
|
"AddUsersForUserManager": [
|
|
20
|
+
{
|
|
21
|
+
"document": "",
|
|
22
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUsersForUserManager\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-o88f3whr\",\n \"UserManagerUserList\": [\n {\n \"UserName\": \"user1\",\n \"UserGroup\": \"group1\",\n \"PassWord\": \"ceshi123\",\n \"ReMark\": \"ceshi\",\n \"Groups\": [\n \"group1\"\n ]\n }\n ]\n}",
|
|
23
|
+
"output": "{\n \"Response\": {\n \"FailedUserList\": [],\n \"RequestId\": \"69048737-8f4f-4825-b4f6-a67dbf3f198c\",\n \"SuccessUserList\": [\n \"user1\"\n ]\n }\n}",
|
|
24
|
+
"title": "Adding a User"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"AttachDisks": [
|
|
4
28
|
{
|
|
5
29
|
"document": " ",
|
|
6
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:
|
|
7
|
-
"output": "{\n \"Response\": {\n \"
|
|
8
|
-
"title": "
|
|
30
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AttachDisks\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-xxxx\",\n \"DiskIds\": [\n \"disk-xxx1\",\n \"disk-xxx2\"\n ]\n}",
|
|
31
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"95eb9120-0883-407c-aa5a-43b4e2c250d1\"\n }\n}",
|
|
32
|
+
"title": "Mounting Cloud Disks"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"ConvertPreToPostCluster": [
|
|
36
|
+
{
|
|
37
|
+
"document": "",
|
|
38
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConvertPreToPostCluster\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-gjmqt2b1\",\n \"ClientToken\": \"\"\n}",
|
|
39
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"11f53a6c-df44-4496-acac-d09b98ccd\"\n }\n}",
|
|
40
|
+
"title": "Converting Monthly Subscription Cluster to Pay-as-You-Go Cluster"
|
|
9
41
|
}
|
|
10
42
|
],
|
|
11
43
|
"CreateCluster": [
|
|
12
44
|
{
|
|
13
45
|
"document": " ",
|
|
14
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCluster\n<Common request parameters>\n\n{\n \"
|
|
15
|
-
"output": "{\n \"Response\": {\n \"InstanceId\": \"
|
|
16
|
-
"title": "Creating an EMR
|
|
46
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCluster\n<Common request parameters>\n\n{\n \"EnableKerberosFlag\": false,\n \"SceneSoftwareConfig\": {\n \"SceneName\": \"Hadoop-Default\",\n \"Software\": [\n \"hdfs-3.2.2\",\n \"yarn-3.2.2\",\n \"zookeeper-3.6.3\",\n \"openldap-2.4.44\",\n \"knox-1.6.1\",\n \"hive-3.1.3\"\n ]\n },\n \"MetaDBInfo\": {\n \"MetaType\": \"EMR_DEFAULT_META\"\n },\n \"NeedMasterWan\": \"NEED_MASTER_WAN\",\n \"EnableCbsEncryptFlag\": false,\n \"LoginSettings\": {\n \"Password\": \"xxxxxxx\"\n },\n \"SecurityGroupIds\": [\n \"sg-xxx\"\n ],\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"ProductVersion\": \"EMR-V3.5.0\",\n \"ClientToken\": \"fasdlfhaldfhdlahfd4134322\",\n \"EnableRemoteLoginFlag\": true,\n \"InstanceChargePrepaid\": {\n \"RenewFlag\": true,\n \"Period\": 1\n },\n \"InstanceName\": \"EMR350-JH6\",\n \"EnableSupportHAFlag\": false,\n \"ZoneResourceConfiguration\": [\n {\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-xxx\",\n \"VpcId\": \"vpc-1df1dafd\"\n },\n \"AllNodeResourceSpec\": {\n \"MasterResourceSpec\": {\n \"SystemDisk\": [\n {\n \"Count\": 1,\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_HSSD\"\n }\n ],\n \"DataDisk\": [\n {\n \"Count\": 1,\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_SSD\"\n }\n ],\n \"LocalDataDisk\": [],\n \"InstanceType\": \"S6.2XLARGE32\",\n \"Tags\": []\n },\n \"CoreCount\": 2,\n \"CoreResourceSpec\": {\n \"SystemDisk\": [\n {\n \"Count\": 1,\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_SSD\"\n }\n ],\n \"DataDisk\": [\n {\n \"Count\": 1,\n \"DiskSize\": 300,\n \"DiskType\": \"CLOUD_TSSD\"\n }\n ],\n \"LocalDataDisk\": [],\n \"InstanceType\": \"SA4.8XLARGE64\",\n \"Tags\": []\n },\n \"TaskCount\": 0,\n \"CommonCount\": 0,\n \"MasterCount\": 1\n },\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-7\"\n }\n }\n ]\n}",
|
|
47
|
+
"output": "{\n \"Response\": {\n \"InstanceId\": \"emr-rx5\",\n \"RequestId\": \"fsafa-232\"\n }\n}",
|
|
48
|
+
"title": "Creating an EMR Cluster Instance"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"CreateGroupsSTD": [
|
|
52
|
+
{
|
|
53
|
+
"document": "",
|
|
54
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGroupsSTD\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-o88f3whr\",\n \"Groups\": [\n {\n \"GroupName\": \"group4\",\n \"Description\": \"ceshi\"\n }\n ]\n}",
|
|
55
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Item\": \"group4\",\n \"Reason\": \"\",\n \"Result\": true\n }\n ],\n \"RequestId\": \"ceff5822-18bb-43d7-8c63-199597aa50de\"\n }\n}",
|
|
56
|
+
"title": "Adding a User Group"
|
|
17
57
|
}
|
|
18
58
|
],
|
|
19
59
|
"CreateInstance": [
|
|
@@ -27,25 +67,89 @@
|
|
|
27
67
|
"CreateSLInstance": [
|
|
28
68
|
{
|
|
29
69
|
"document": "This example shows you how to create a Serverless HBase instance.",
|
|
30
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSLInstance\n<Common request parameters>\n\n{\n \"InstanceName\": \"sl-haoyuhua-test-create\",\n \"PayMode\": 0,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 100,\n \"NodeType\": \"4C16G\",\n \"ZoneSettings\": [\n {\n \"Zone\": \"ap-guangzhou-
|
|
70
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSLInstance\n<Common request parameters>\n\n{\n \"InstanceName\": \"sl-haoyuhua-test-create\",\n \"PayMode\": 0,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 100,\n \"NodeType\": \"4C16G\",\n \"ZoneSettings\": [\n {\n \"Zone\": \"ap-guangzhou-6\",\n \"VPCSettings\": {\n \"VpcId\": \"vpc-dcfhrh73\",\n \"SubnetId\": \"subnet-5bhc4kly\"\n },\n \"NodeNum\": 1\n },\n {\n \"Zone\": \"ap-guangzhou-6\",\n \"VPCSettings\": {\n \"VpcId\": \"vpc-dcfhrh73\",\n \"SubnetId\": \"subnet-5bhc4kly\"\n },\n \"NodeNum\": 1\n },\n {\n \"Zone\": \"ap-guangzhou-6\",\n \"VPCSettings\": {\n \"VpcId\": \"vpc-dcfhrh73\",\n \"SubnetId\": \"subnet-5bhc4kly\"\n },\n \"NodeNum\": 1\n }\n ],\n \"Tags\": []\n}",
|
|
31
71
|
"output": "{\n \"Response\": {\n \"InstanceId\": \"emr-8qrmc34c\",\n \"RequestId\": \"983e4dae-1cb4-40cb-8476-3231a6849696\"\n }\n}",
|
|
32
72
|
"title": "Creating a Serverless HBase Instance"
|
|
33
73
|
}
|
|
34
74
|
],
|
|
75
|
+
"DeleteAutoScaleStrategy": [
|
|
76
|
+
{
|
|
77
|
+
"document": " ",
|
|
78
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAutoScaleStrategy\n<Common request parameters>\n\n{\n \"GroupId\": 6,\n \"InstanceId\": \"emr-5urm\",\n \"StrategyId\": 413,\n \"StrategyType\": 2\n}",
|
|
79
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"586a9cb9-adcb-4f74-9e6f-01482ac4cffe\"\n }\n}",
|
|
80
|
+
"title": "Deleting an Elastic Scaling Rule Instance"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"DeleteGroupsSTD": [
|
|
84
|
+
{
|
|
85
|
+
"document": "",
|
|
86
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteGroupsSTD\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-o88f3whr\",\n \"GroupNames\": [\n \"group1\",\n \"group2\"\n ]\n}",
|
|
87
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Item\": \"group1\",\n \"Reason\": \"\",\n \"Result\": true\n },\n {\n \"Item\": \"group2\",\n \"Reason\": \"Group group2 not found or being processed\",\n \"Result\": false\n }\n ],\n \"RequestId\": \"24b928fe-29f4-4c15-8a4c-700eb86c713a\"\n }\n}",
|
|
88
|
+
"title": "Deleting a User Group"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"DeleteNodeResourceConfig": [
|
|
92
|
+
{
|
|
93
|
+
"document": "",
|
|
94
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteNodeResourceConfig\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-da13dada\",\n \"ResourceType\": \"CORE\",\n \"ResourceConfigId\": 1,\n \"ResourceBaseType\": \"EMR\"\n}",
|
|
95
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8c2ff02e-5f38-494a-8d2d-68a7dec6efcd\"\n }\n}",
|
|
96
|
+
"title": "Deleting the Node Specification Configuration of the Current Cluster"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"DeployYarnConf": [
|
|
100
|
+
{
|
|
101
|
+
"document": "",
|
|
102
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployYarnConf\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-123\"\n}",
|
|
103
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1,\n \"RequestId\": \"01db0ef1-8be7-45f4-b740-60667665ef24 \"\n }\n}",
|
|
104
|
+
"title": "Performing YARN Resource Scheduling - Applying Configurations After Deployment"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"DescribeAutoScaleGroupGlobalConf": [
|
|
108
|
+
{
|
|
109
|
+
"document": "",
|
|
110
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScaleGroupGlobalConf\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-123\"\n}",
|
|
111
|
+
"output": "{\n \"Response\": {\n \"GroupGlobalConfs\": [\n {\n \"CurrentNodes\": 0,\n \"CurrentPostPaidNodes\": 0,\n \"CurrentSpotPaidNodes\": 0,\n \"GroupGlobalConf\": {\n \"ChangeToPod\": 0,\n \"ClusterId\": 33003386,\n \"EnableMNode\": 0,\n \"GraceDownFlag\": true,\n \"GroupName\": \"Regression Group-002\",\n \"GroupStatus\": 2,\n \"HardwareType\": \"HOST\",\n \"Id\": 26,\n \"NextTimeCanScale\": 0,\n \"Parallel\": 1,\n \"PayMode\": \"POSTPAY\",\n \"PostPayPercentMin\": 0,\n \"ScaleLowerBound\": 0,\n \"ScaleUpperBound\": 30,\n \"StrategyType\": 0\n }\n }\n ],\n \"RequestId\": \"4dea2795-c996-4385-88f8-c6191766e519\",\n \"TotalCount\": 1\n }\n}",
|
|
112
|
+
"title": "Obtaining the Global Configuration of Scaling Groups"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
35
115
|
"DescribeAutoScaleRecords": [
|
|
36
116
|
{
|
|
37
117
|
"document": " ",
|
|
38
118
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScaleRecords\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-3ap64zl6\",\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
|
|
39
|
-
"output": "{\n \"Response\": {\n \"
|
|
40
|
-
"title": "
|
|
119
|
+
"output": "{\n \"Response\": {\n \"RecordList\": [\n {\n \"ActionStatus\": \"SUCCESS\",\n \"ActionTime\": \"2024-11-05 19:38:10\",\n \"CompensateCount\": 0,\n \"CompensateFlag\": 0,\n \"EndTime\": \"2024-11-05 19:38:37\",\n \"ExpectScaleNum\": 1,\n \"RetryCount\": 0,\n \"RetryInfo\": \"Retry count: 0\\n Retry end time: 0000-00-00 00:00:00\\n Retry reason: \",\n \"ScaleAction\": \"SCALE_IN\",\n \"ScaleInfo\"\": \"\"Scale-in information: [before scale-in: 11; after scale-in: 10; success: 1; failure: 0]\",\n \"SpecInfo\": \"1: AZ: Nanjing Zone 3\\nSA2.LARGE8: CPU: 4 cores, memory: 8 GB\\n\\t system disk:\\n \\t\\t balanced SSD: 50 GB\\n\\t data disk:\\n\\t\\t enhanced SSD: 100 GB x 1\\n\\n\",\n \"StrategyName\": \"regression-re04\",\n \"StrategyType\": 1\n }\n ],\n \"RequestId\": \"8ad457bc-16ca-4ed5-af21-3ed4b58d719b\",\n \"TotalCount\": 70\n }\n}",
|
|
120
|
+
"title": "Obtaining Elastic Scaling History Instances"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"DescribeAutoScaleStrategies": [
|
|
124
|
+
{
|
|
125
|
+
"document": "",
|
|
126
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScaleStrategies\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-123\",\n \"GroupId\": 0\n}",
|
|
127
|
+
"output": "{\n \"Response\": {\n \"LoadAutoScaleStrategies\": [\n {\n \"CalmDownTime\": 60,\n \"ConfigGroupAssigned\": \"\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 16\n }\n ],\n \"LoadMetrics\": \"AvailableVCores#root.default\",\n \"MetricId\": 1,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"MeasureMethod\": \"INSTANCE\",\n \"PeriodValid\": \"\",\n \"Priority\": 3,\n \"ProcessMethod\": 3,\n \"ScaleAction\": 2,\n \"ScaleNum\": 2,\n \"ServiceNodeInfo\": null,\n \"Soft\": \"yarn\",\n \"SoftDeployInfo\": null,\n \"StrategyId\": 1521,\n \"StrategyName\": \"Load-Based Scale-In\",\n \"StrategyStatus\": 3,\n \"Tags\": [],\n \"YarnNodeLabel\": \"\"\n }\n ],\n \"RequestId\": \"272c1c07-2840-44c8-8753-a761617f71fd\",\n \"TimeBasedAutoScaleStrategies\": [\n {\n \"CompensateFlag\": 1,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"IMPALA-4.1.0\\\":-1,\\\"KYUUBI-1.6.0\\\":-1,\\\"TRINO-389\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"IntervalTime\": 300,\n \"MaxUse\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 1,\n \"RepeatStrategy\": {\n \"DayRepeat\": {\n \"ExecuteAtTimeOfDay\": \"08:30:00\",\n \"Step\": 1\n },\n \"Expire\": \"2024-09-11 23:59:59\",\n \"MonthRepeat\": {\n \"DaysOfMonthRange\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n },\n \"NotRepeat\": {\n \"ExecuteAt\": \"\"\n },\n \"RepeatType\": \"DAY\",\n \"WeekRepeat\": {\n \"DaysOfWeek\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n }\n },\n \"RetryValidTime\": 300,\n \"ScaleAction\": 1,\n \"ScaleNum\": 1,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyId\": 1274,\n \"StrategyName\": \"Time-based Periodic Scale-Out\",\n \"StrategyStatus\": 3,\n \"Tags\": [\n {\n \"TagKey\": \"key09993\",\n \"TagValue\": \"value1\"\n },\n {\n \"TagKey\": \"key09991\",\n \"TagValue\": \"value1\"\n }\n ],\n \"TerminatePolicy\": \"DEFAULT\"\n },\n {\n \"CompensateFlag\": 0,\n \"ConfigGroupAssigned\": \"\",\n \"GraceDownFlag\": true,\n \"GraceDownTime\": 180,\n \"GroupId\": 0,\n \"IntervalTime\": 60,\n \"MaxUse\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 2,\n \"RepeatStrategy\": {\n \"DayRepeat\": {\n \"ExecuteAtTimeOfDay\": \"09:30:00\",\n \"Step\": 1\n },\n \"Expire\": \"2024-09-11 23:59:59\",\n \"MonthRepeat\": {\n \"DaysOfMonthRange\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n },\n \"NotRepeat\": {\n \"ExecuteAt\": \"\"\n },\n \"RepeatType\": \"DAY\",\n \"WeekRepeat\": {\n \"DaysOfWeek\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n }\n },\n \"RetryValidTime\": 60,\n \"ScaleAction\": 2,\n \"ScaleNum\": 1,\n \"ServiceNodeInfo\": null,\n \"SoftDeployInfo\": null,\n \"StrategyId\": 1275,\n \"StrategyName\": \"Time-based Periodic Scale-In - Enable Graceful Scale-In\",\n \"StrategyStatus\": 3,\n \"Tags\": [],\n \"TerminatePolicy\": \"DEFAULT\"\n }\n ]\n }\n}",
|
|
128
|
+
"title": "Obtaining Automatic Scaling Rules"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"DescribeClusterFlowStatusDetail": [
|
|
132
|
+
{
|
|
133
|
+
"document": "",
|
|
134
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterFlowStatusDetail\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-123\",\n \"FlowParam\": {\n \"FKey\": \"TraceId\",\n \"FValue\": \"1730204629-375383-1016312\"\n },\n \"NeedExtraDetail\": true\n}",
|
|
135
|
+
"output": "{\n \"Response\": {\n \"FlowDesc\": [\n {\n \"PKey\": \"CoreSize\",\n \"PValue\": \"1\"\n },\n {\n \"PKey\": \"DeployProcess\",\n \"PValue\": \"DataNode,NodeManager,Filebeat\"\n },\n {\n \"PKey\": \"Node Type\",\n \"PValue\": \"Core\"\n }\n ],\n \"FlowExtraDetail\": null,\n \"FlowName\": \"Scale Out Core\",\n \"FlowTotalProgress\": 0.38,\n \"FlowTotalStatus\": 1,\n \"RequestId\": \"d9ad966c-9db0-409f-a2da-4c23350772d3\",\n \"StageDetails\": [\n {\n \"Desc\": \"Completed\",\n \"Endtime\": \"2024-10-29 20:24:41\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"lookupResources\",\n \"Name\": \"Create Order\",\n \"Progress\": 0,\n \"Stage\": \"lookupResources\",\n \"Starttime\": \"2024-10-29 20:24:01\",\n \"Status\": 2,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"takes 40s\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"Completed\",\n \"Endtime\": \"2024-10-29 20:24:43\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"applyCvm\",\n \"Name\": \"Apply For Resource\",\n \"Progress\": 0,\n \"Stage\": \"applyCvm\",\n \"Starttime\": \"2024-10-29 20:24:41\",\n \"Status\": 2,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"takes 2s\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"Completed\",\n \"Endtime\": \"2024-10-29 20:24:44\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"bindTags\",\n \"Name\": \"Bind tag\",\n \"Progress\": 0,\n \"Stage\": \"bindTags\",\n \"Starttime\": \"2024-10-29 20:24:44\",\n \"Status\": 2,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"takes 0s\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"Not started\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"createSecurityGroup\",\n \"Name\": \"Initialize security group\",\n \"Progress\": 0,\n \"Stage\": \"createSecurityGroup\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"Not started\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"addCVMAndCDBToWoodpecker\",\n \"Name\": \"Initialize resource\",\n \"Progress\": 0,\n \"Stage\": \"addCVMAndCDBToWoodpecker\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"Not started\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"woodpeckerScaleoutCluster\",\n \"Name\": \"Prepare for scale-out\",\n \"Progress\": 0,\n \"Stage\": \"woodpeckerScaleoutCluster\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"Not started\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": true,\n \"IsShow\": true,\n \"IsSubFlow\": true,\n \"LanguageKey\": \"initializeService\",\n \"Name\": \"Initialize service\",\n \"Progress\": 0,\n \"Stage\": \"queryWoodpeckerFlow\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"Not started\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"endPoint\",\n \"Name\": \"End task\",\n \"Progress\": 0,\n \"Stage\": \"endPoint\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n }\n ]\n }\n}",
|
|
136
|
+
"title": "Querying EMR Task Running Detail Status"
|
|
41
137
|
}
|
|
42
138
|
],
|
|
43
139
|
"DescribeClusterNodes": [
|
|
44
140
|
{
|
|
45
|
-
"document": "This example shows you how to
|
|
46
|
-
"input": "
|
|
47
|
-
"output": "{\n \"Response\": {\n \"NodeList\": [\n {\n \"AppId\":
|
|
48
|
-
"title": "
|
|
141
|
+
"document": "This example shows you how to obtain the information of a hardware node by EMR cluster ID.",
|
|
142
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterNodes\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-6deluvd4\",\n \"NodeFlag\": \"all\",\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
|
|
143
|
+
"output": "{\n \"Response\": {\n \"HardwareResourceTypeList\": [\n \"HOST\",\n \"MNode\",\n \"POD\"\n ],\n \"NodeList\": [\n {\n \"AppId\": 1258469122,\n \"ApplyTime\": \"2024-11-05 20:40:30\",\n \"AutoFlag\": 0,\n \"CdbIp\": \"\",\n \"CdbNodeInfo\": null,\n \"CdbPort\": 0,\n \"ChargeType\": 0,\n \"Clients\": \"HDFS,YARN,ZOOKEEPER,FILEBEAT,RUNTIME\",\n \"CpuNum\": 4,\n \"CurrentTime\": \"2024-11-05 20:44:07\",\n \"Destroyable\": 0,\n \"DeviceClass\": \"VSELF_5\",\n \"DeviceName\": \"EMR Standard S5\",\n \"DisableApiTermination\": false,\n \"DiskSize\": \"200.00 GB\",\n \"DynamicPodSpec\": \"\",\n \"EmrResourceId\": \"emr-vm-3ep60g79\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"Flag\": 2,\n \"FreeTime\": \"0000-00-00 00:00:00\",\n \"HardwareResourceType\": \"HOST\",\n \"HwDiskSize\": 214748364800,\n \"HwDiskSizeDesc\": \"200.00 GB\",\n \"HwMemSize\": 8589934592,\n \"HwMemSizeDesc\": \"8GB\",\n \"Ip\": \"10.233.179.208\",\n \"IsAutoRenew\": 1,\n \"IsDynamicSpec\": 0,\n \"IsFederation\": 0,\n \"MCMultiDisk\": [\n {\n \"Count\": 1,\n \"Type\": 4,\n \"Volume\": 214748364800\n }\n ],\n \"MemDesc\": \"8GB\",\n \"MemSize\": 8589934592,\n \"Mutable\": 1,\n \"NameTag\": \"core.0\",\n \"OrderNo\": \"ins-79jcgj7m\",\n \"RegionId\": 1,\n \"Remark\": \"\",\n \"RootSize\": 70,\n \"RootStorageType\": 4,\n \"SerialNo\": \"240606f1-dc72-4760-958f-3d11b7430c9f\",\n \"ServiceClient\": \"\",\n \"Services\": \"DataNode,Filebeat,NodeManager,Sysctl\",\n \"ServicesStatus\": \"DataNode:STARTED,Filebeat:STARTED,NodeManager:STARTED,Sysctl:STARTED\",\n \"SharedClusterId\": \"\",\n \"SharedClusterIdDesc\": \"\",\n \"Spec\": \"CVM.S5\",\n \"StorageType\": 4,\n \"SubnetInfo\": {\n \"SubnetId\": \"subnet-ax8z9f1u\",\n \"SubnetName\": \"vigo-subnet\"\n },\n \"SupportModifyPayMode\": 0,\n \"Tags\": [],\n \"TradeVersion\": 1,\n \"WanIp\": \"\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n },\n {\n \"AppId\": 1258469122,\n \"ApplyTime\": \"2024-11-05 20:40:30\",\n \"AutoFlag\": 0,\n \"CdbIp\": \"\",\n \"CdbNodeInfo\": null,\n \"CdbPort\": 0,\n \"ChargeType\": 0,\n \"Clients\": \"HDFS,YARN,ZOOKEEPER,FILEBEAT,RUNTIME\",\n \"CpuNum\": 4,\n \"CurrentTime\": \"2024-11-05 20:44:07\",\n \"Destroyable\": 0,\n \"DeviceClass\": \"VSELF_5\",\n \"DeviceName\": \"EMR Standard S5\",\n \"DisableApiTermination\": false,\n \"DiskSize\": \"200.00 GB\",\n \"DynamicPodSpec\": \"\",\n \"EmrResourceId\": \"emr-vm-az843bs9\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"Flag\": 2,\n \"FreeTime\": \"0000-00-00 00:00:00\",\n \"HardwareResourceType\": \"HOST\",\n \"HwDiskSize\": 214748364800,\n \"HwDiskSizeDesc\": \"200.00 GB\",\n \"HwMemSize\": 8589934592,\n \"HwMemSizeDesc\": \"8GB\",\n \"Ip\": \"10.233.179.138\",\n \"IsAutoRenew\": 1,\n \"IsDynamicSpec\": 0,\n \"IsFederation\": 0,\n \"MCMultiDisk\": [\n {\n \"Count\": 1,\n \"Type\": 4,\n \"Volume\": 214748364800\n }\n ],\n \"MemDesc\": \"8GB\",\n \"MemSize\": 8589934592,\n \"Mutable\": 1,\n \"NameTag\": \"core.1\",\n \"OrderNo\": \"ins-aodlsfs2\",\n \"RegionId\": 1,\n \"Remark\": \"\",\n \"RootSize\": 70,\n \"RootStorageType\": 4,\n \"SerialNo\": \"a167d792-3f7d-4927-bc64-70604b4172d2\",\n \"ServiceClient\": \"\",\n \"Services\": \"DataNode,Filebeat,NodeManager,Sysctl\",\n \"ServicesStatus\": \"DataNode:STARTED,Filebeat:STARTED,NodeManager:STARTED,Sysctl:STARTED\",\n \"SharedClusterId\": \"\",\n \"SharedClusterIdDesc\": \"\",\n \"Spec\": \"CVM.S5\",\n \"StorageType\": 4,\n \"SubnetInfo\": {\n \"SubnetId\": \"subnet-ax8z9f1u\",\n \"SubnetName\": \"vigo-subnet\"\n },\n \"SupportModifyPayMode\": 0,\n \"Tags\": [],\n \"TradeVersion\": 1,\n \"WanIp\": \"\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n },\n {\n \"AppId\": 1258469122,\n \"ApplyTime\": \"2024-11-05 20:40:30\",\n \"AutoFlag\": 0,\n \"CdbIp\": \"\",\n \"CdbNodeInfo\": null,\n \"CdbPort\": 0,\n \"ChargeType\": 0,\n \"Clients\": \"HDFS,YARN,ZOOKEEPER,OPENLDAP,KNOX,FILEBEAT,RUNTIME\",\n \"CpuNum\": 8,\n \"CurrentTime\": \"2024-11-05 20:44:07\",\n \"Destroyable\": 0,\n \"DeviceClass\": \"VSELF_5\",\n \"DeviceName\": \"EMR Standard S5\",\n \"DisableApiTermination\": false,\n \"DiskSize\": \"200.00 GB\",\n \"DynamicPodSpec\": \"\",\n \"EmrResourceId\": \"emr-vm-7sgwp92l\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"Flag\": 1,\n \"FreeTime\": \"0000-00-00 00:00:00\",\n \"HardwareResourceType\": \"HOST\",\n \"HwDiskSize\": 214748364800,\n \"HwDiskSizeDesc\": \"200.00 GB\",\n \"HwMemSize\": 17179869184,\n \"HwMemSizeDesc\": \"16GB\",\n \"Ip\": \"10.233.179.87\",\n \"IsAutoRenew\": 1,\n \"IsDynamicSpec\": 0,\n \"IsFederation\": 0,\n \"MCMultiDisk\": [\n {\n \"Count\": 1,\n \"Type\": 4,\n \"Volume\": 214748364800\n }\n ],\n \"MemDesc\": \"16GB\",\n \"MemSize\": 17179869184,\n \"Mutable\": 1,\n \"NameTag\": \"master.0\",\n \"OrderNo\": \"ins-olrawbba\",\n \"RegionId\": 1,\n \"Remark\": \"\",\n \"RootSize\": 70,\n \"RootStorageType\": 4,\n \"SerialNo\": \"b8f36fdb-7f78-402e-ace6-63b3d3f277fd\",\n \"ServiceClient\": \"\",\n \"Services\": \"Filebeat,gateway,JobHistoryServer,ldap,NameNode,Zookeeper,ResourceManager,slapd,Sysctl,TimeLineServer\",\n \"ServicesStatus\": \"Filebeat:STARTED,gateway:STARTED,JobHistoryServer:STARTED,ldap:STARTED,NameNode:STARTED,Zookeeper:STARTED,ResourceManager:STARTED,slapd:STARTED,Sysctl:STARTED,TimeLineServer:STARTED\",\n \"SharedClusterId\": \"\",\n \"SharedClusterIdDesc\": \"\",\n \"Spec\": \"CVM.S5\",\n \"StorageType\": 4,\n \"SubnetInfo\": {\n \"SubnetId\": \"subnet-ax8z9f1u\",\n \"SubnetName\": \"vigo-subnet\"\n },\n \"SupportModifyPayMode\": 0,\n \"Tags\": [],\n \"TradeVersion\": 1,\n \"WanIp\": \"0.0.0.0\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n }\n ],\n \"RequestId\": \"ee21e3bd-2340-4501-b63c-2edbcff0f220\",\n \"TagKeys\": null,\n \"TotalCnt\": 3\n }\n}",
|
|
144
|
+
"title": "Obtaining Information of a Hardware Node"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"DescribeDAGInfo": [
|
|
148
|
+
{
|
|
149
|
+
"document": "",
|
|
150
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDAGInfo\n<Common request parameters>\n\n{\n \"InstanceID\": \"emr-0lqdz2kr\",\n \"Type\": \"STARROCKS\",\n \"IDList\": [\n \"hadoop_20250204000505_2e6d0e39-f040-4c99-8426-4a3555c7945d\"\n ]\n}",
|
|
151
|
+
"output": "{\n \"Response\": {\n \"DAGInfoList\": [\n {\n \"Content\": \"{\\\"nodeList\\\":[{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-7\\\"}],\\\"id\\\":\\\"0\\\",\\\"name\\\":\\\"Conditional Operator\\\",\\\"outDegree\\\":3,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"12\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-5\\\"}],\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"Map\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"0\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"TS_4\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-5\\\"}],\\\"id\\\":\\\"2\\\",\\\"name\\\":\\\"TableScan\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"1\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"FS_5\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"compressed\\\",\\\"value\\\":\\\"false\\\"},{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"name\\\",\\\"value\\\":\\\"default.hive_table_p1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"input format\\\",\\\"value\\\":\\\"org.apache.hadoop.mapred.TextInputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"output format\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"serde\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"table\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-5\\\"}],\\\"id\\\":\\\"3\\\",\\\"name\\\":\\\"File Output Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"2\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"hdfs directory\\\",\\\"value\\\":\\\"true\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"destination\\\",\\\"value\\\":\\\"hdfs://10.0.0.59:4007/usr/hive/warehouse/hive_table_p1/dt=2025-02-04/.hive-staging_hive_2025-02-04_00-05-05_176_8916599993887172596-9/-ext-10000\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"files\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-6\\\"}],\\\"id\\\":\\\"4\\\",\\\"name\\\":\\\"Move Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"3\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-3\\\"}],\\\"id\\\":\\\"5\\\",\\\"name\\\":\\\"Map\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"0\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"TS_4\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-3\\\"}],\\\"id\\\":\\\"6\\\",\\\"name\\\":\\\"TableScan\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"5\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"FS_5\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"compressed\\\",\\\"value\\\":\\\"false\\\"},{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"name\\\",\\\"value\\\":\\\"default.hive_table_p1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"input format\\\",\\\"value\\\":\\\"org.apache.hadoop.mapred.TextInputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"output format\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"serde\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"table\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-3\\\"}],\\\"id\\\":\\\"7\\\",\\\"name\\\":\\\"File Output Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"6\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"hdfs directory\\\",\\\"value\\\":\\\"true\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"destination\\\",\\\"value\\\":\\\"hdfs://10.0.0.59:4007/usr/hive/warehouse/hive_table_p1/dt=2025-02-04/.hive-staging_hive_2025-02-04_00-05-05_176_8916599993887172596-9/-ext-10000\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"files\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-4\\\"}],\\\"id\\\":\\\"8\\\",\\\"name\\\":\\\"Move Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"0\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-1\\\"}],\\\"id\\\":\\\"9\\\",\\\"name\\\":\\\"Map\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"15\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"TS_0\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"alias\\\",\\\"value\\\":\\\"values__tmp__table__1\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-1\\\"}],\\\"id\\\":\\\"10\\\",\\\"name\\\":\\\"TableScan\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"9\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"SEL_1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"outputColumnNames\\\",\\\"value\\\":\\\"[\\\\\\\"_col0\\\\\\\",\\\\\\\"_col1\\\\\\\"]\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"expressions\\\",\\\"value\\\":\\\"UDFToInteger(tmp_values_col1) (type: int), tmp_values_col2 (type: string)\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-1\\\"}],\\\"id\\\":\\\"11\\\",\\\"name\\\":\\\"Select Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"10\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"FS_3\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"compressed\\\",\\\"value\\\":\\\"false\\\"},{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"name\\\",\\\"value\\\":\\\"default.hive_table_p1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"input format\\\",\\\"value\\\":\\\"org.apache.hadoop.mapred.TextInputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"output format\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"serde\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"table\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-1\\\"}],\\\"id\\\":\\\"12\\\",\\\"name\\\":\\\"File Output Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"11\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-2\\\"}],\\\"id\\\":\\\"13\\\",\\\"name\\\":\\\"Stats-Aggr Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"14\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"dt\\\",\\\"value\\\":\\\"2025-02-04\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"partition\\\"},{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"name\\\",\\\"value\\\":\\\"default.hive_table_p1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"input format\\\",\\\"value\\\":\\\"org.apache.hadoop.mapred.TextInputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"output format\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"serde\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"table\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"replace\\\",\\\"value\\\":\\\"false\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"tables\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"TREE\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-0\\\"}],\\\"id\\\":\\\"14\\\",\\\"name\\\":\\\"Move Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"8\\\"},{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"7\\\"},{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"4\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"compileDuration\\\",\\\"value\\\":303}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"compile\\\"}],\\\"id\\\":\\\"15\\\",\\\"name\\\":\\\"compile\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"StartTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21.361\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"EndTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21.362\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"CostTimeMs\\\",\\\"value\\\":1}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Finish\\\"}],\\\"id\\\":\\\"16\\\",\\\"name\\\":\\\"RenameOrMoveFiles\\\",\\\"outDegree\\\":0,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"13\\\"}]}],\\\"pipelineList\\\":[],\\\"stageList\\\":[{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"CONDITIONAL\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-7\\\",\\\"name\\\":\\\"Stage-7\\\",\\\"nodeList\\\":[\\\"0\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-5\\\",\\\"name\\\":\\\"Stage-5\\\",\\\"nodeList\\\":[\\\"1\\\",\\\"2\\\",\\\"3\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-6\\\",\\\"name\\\":\\\"Stage-6\\\",\\\"nodeList\\\":[\\\"4\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-3\\\",\\\"name\\\":\\\"Stage-3\\\",\\\"nodeList\\\":[\\\"5\\\",\\\"6\\\",\\\"7\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"MOVE\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"6ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"6ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-4\\\",\\\"name\\\":\\\"Stage-4\\\",\\\"nodeList\\\":[\\\"8\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"MAPRED\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"96%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"15911ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"15911ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:05\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"mapRedStats\\\",\\\"value\\\":\\\"Map: 1 Cumulative CPU: 2.13 sec HDFS Read: 4221 HDFS Write: 99 SUCCESS\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"applicationId\\\",\\\"value\\\":\\\"application_1736476990958_0073\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"VCoreSeconds\\\",\\\"value\\\":23},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"MemorySeconds\\\",\\\"value\\\":50837},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"hdfsBytesRead\\\",\\\"value\\\":4221},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"hdfsBytesWritten\\\",\\\"value\\\":99},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"CREATED_FILES\\\",\\\"value\\\":1},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"RECORDS_IN\\\",\\\"value\\\":1},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"RECORDS_OUT_1_default.hive_table_p1\\\",\\\"value\\\":1}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-1\\\",\\\"name\\\":\\\"Stage-1\\\",\\\"nodeList\\\":[\\\"9\\\",\\\"10\\\",\\\"11\\\",\\\"12\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"STATS\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"1%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"168ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"168ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-2\\\",\\\"name\\\":\\\"Stage-2\\\",\\\"nodeList\\\":[\\\"13\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"MOVE\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"2%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"379ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"379ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-0\\\",\\\"name\\\":\\\"Stage-0\\\",\\\"nodeList\\\":[\\\"14\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"compile\\\",\\\"name\\\":\\\"compile\\\",\\\"nodeList\\\":[\\\"15\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"1ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Finish\\\",\\\"name\\\":\\\"Finish\\\",\\\"nodeList\\\":[\\\"16\\\"]}],\\\"summary\\\":[],\\\"topAttrGroup\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"96%\\\",\\\"name\\\":\\\"Stage-1\\\",\\\"value\\\":\\\"15911ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"2%\\\",\\\"name\\\":\\\"Stage-0\\\",\\\"value\\\":\\\"379ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"1%\\\",\\\"name\\\":\\\"Stage-2\\\",\\\"value\\\":\\\"168ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-4\\\",\\\"value\\\":\\\"6ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Finish\\\",\\\"value\\\":\\\"1ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-7\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-5\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-6\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-3\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"compile\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"time ranking\\\",\\\"type\\\":\\\"TOP_LIST\\\"},{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"Stage-1\\\",\\\"value\\\":23}],\\\"title\\\":\\\"VCoreSeconds ranking\\\",\\\"type\\\":\\\"TOP_LIST\\\"},{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"Stage-1\\\",\\\"value\\\":50837}],\\\"title\\\":\\\"MemorySeconds ranking\\\",\\\"type\\\":\\\"TOP_LIST\\\"}],\\\"type\\\":\\\"HIVE\\\"}\",\n \"ID\": \"hadoop_20250204000505_2e6d0e39-f040-4c99-8426-4a3555c7945d\",\n \"Type\": \"STARROCKS\"\n }\n ],\n \"RequestId\": \"baefe09a-7032-4c21-b5e3-1440bfae8492\",\n \"TotalCount\": 1\n }\n}",
|
|
152
|
+
"title": "Obtaining DAG Information Sample"
|
|
49
153
|
}
|
|
50
154
|
],
|
|
51
155
|
"DescribeEmrApplicationStatics": [
|
|
@@ -56,6 +160,46 @@
|
|
|
56
160
|
"title": "【Monitor】Querying the application statistics V2"
|
|
57
161
|
}
|
|
58
162
|
],
|
|
163
|
+
"DescribeEmrOverviewMetrics": [
|
|
164
|
+
{
|
|
165
|
+
"document": "",
|
|
166
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEmrOverviewData\n<Common request parameters>\n\n{\n \"End\": 1730753724,\n \"Metric\": \"NODE.CPU\",\n \"InstanceId\": \"emr-hvijzo6n\",\n \"Downsample\": \"30s-min\"\n}",
|
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a16d3814-3b85-498a-97a7-15e7b0f0f0bd\",\n \"Result\": [\n {\n \"Metric\": \"EMR.19003289.NODE.CPU\",\n \"Tags\": {\n \"Type\": \"CPUUsedPercent\"\n },\n \"First\": 1730148930,\n \"Last\": 1730753700,\n \"Interval\": 30,\n \"DataPoints\": [\n \"2.3\",\n \"2.4\",\n \"2.6\",\n \"3.8\",\n \"2.8\",\n \"3.1\",\n \"3.4\",\n \"3.3\",\n \"3.6\",\n \"4.3\",\n \"3\",\n \"3.1\",\n \"2.3\",\n \"2.9\",\n \"2.5\",\n \"2.4\",\n \"2.2\",\n \"4.1\",\n \"3.3\",\n \"2.5\",\n \"4.5\",\n \"4.7\",\n \"2.5\",\n \"3.6\",\n \"2.2\",\n \"2.3\",\n \"2.5\",\n \"2.9\",\n \"2.2\"\n ]\n },\n {\n \"Metric\": \"EMR.19003289.NODE.CPU\",\n \"Tags\": {\n \"Type\": \"CPUCoresTotal\",\n \"Unit\": \"Kernel\"\n },\n \"First\": 1730148930,\n \"Last\": 1730753700,\n \"Interval\": 30,\n \"DataPoints\": [\n \"118\"\n ]\n }\n ]\n }\n}",
|
|
168
|
+
"title": "Querying the Metric Data on the Monitoring Overview Page"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"DescribeGlobalConfig": [
|
|
172
|
+
{
|
|
173
|
+
"document": "",
|
|
174
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGlobalConfig\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-xxx\"\n}",
|
|
175
|
+
"output": "{\n \"Response\": {\n \"ActiveScheduler\": \"fair\",\n \"CapacityGlobalConfig\": {\n \"DefaultSettings\": [\n {\n \"Desc\": \"Ensure task localization execution. The number of scheduling delays can be specified. If the value is -1, scheduling delay will be disabled.\",\n \"Key\": \"yarn.scheduler.capacity.node-locality-delay\",\n \"Name\": \"node-locality-delay\",\n \"Prompt\": \"Enter -1, 0, or a positive integer.\",\n \"Value\": null\n },\n {\n \"Desc\": \"Whether to allow allocating multiple containers in a single NodeManager heartbeat. The default is true. Restart is required for ResourceManager.\",\n \"Key\": \"yarn.scheduler.capacity.per-node-heartbeat.multiple-assignments-enabled\",\n \"Name\": \"multiple-assignments-enabled\",\n \"Prompt\": \"Enter true or false.\",\n \"Value\": null\n },\n {\n \"Desc\": \"Maximum containers assignable per NodeManager heartbeat when multiple-assignments-enabled=true. Restart is required for ResourceManager.\",\n \"Key\": \"yarn.scheduler.capacity.per-node-heartbeat.maximum-container-assignments\",\n \"Name\": \"maximum-container-assignments\",\n \"Prompt\": \"Enter -1 or a positive integer.\",\n \"Value\": null\n },\n {\n \"Desc\": \"Compares ResourceCalculator implementation for resources in the scheduler. By default, org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator uses memory only, while org.apache.hadoop.yarn.util.resource.DominantResourceCalculator uses multidimensional resources such as memory and CPU. Restart is required for ResourceManager.\",\n \"Key\": \"yarn.scheduler.capacity.resource-calculator\",\n \"Name\": \"resource-calculator\",\n \"Prompt\": \"Enter the description information.\",\n \"Value\": null\n }\n ],\n \"EnableLabel\": false,\n \"LabelDir\": null,\n \"QueueMappingOverride\": null\n },\n \"EnableResourceSchedule\": true,\n \"FairGlobalConfig\": {\n \"UserMaxAppsDefault\": null\n },\n \"RequestId\": \"37bd53ed-7516-4a36-988e-e4afeb731df1\",\n \"Scheduler\": \"fair\"\n }\n}",
|
|
176
|
+
"title": "Querying Global Configurations of YARN Resource Scheduling"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"DescribeGroupsSTD": [
|
|
180
|
+
{
|
|
181
|
+
"document": "",
|
|
182
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGroupsSTD\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-mzkssfla\"\n}",
|
|
183
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"CreateTime\": \"2025-05-14 21:46:04\",\n \"GroupName\": \"test2\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n },\n {\n \"CreateTime\": \"2025-05-14 21:46:04\",\n \"GroupName\": \"group2\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n },\n {\n \"CreateTime\": \"2025-05-14 15:39:50\",\n \"GroupName\": \"jianpan-1\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a3\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 15:39:50\",\n \"GroupName\": \"jianpan-test\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a4\",\n \"a1\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:59:11\",\n \"GroupName\": \"user4\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a3\",\n \"a4\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:59:11\",\n \"GroupName\": \"user3\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a3\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:59:11\",\n \"GroupName\": \"user2\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a3\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:58:47\",\n \"GroupName\": \"odinlli1\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a1\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:58:47\",\n \"GroupName\": \"odinlli4\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n },\n {\n \"CreateTime\": \"2025-05-14 13:58:47\",\n \"GroupName\": \"odinlli3\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n },\n {\n \"CreateTime\": \"2025-05-14 13:58:47\",\n \"GroupName\": \"odinlli2\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n }\n ],\n \"RequestId\": \"a7d952a8-7fe6-461c-b59c-9ae3d7d427d0\",\n \"TotalCount\": 11\n }\n}",
|
|
184
|
+
"title": "Querying the User Group Information"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"DescribeHBaseTableOverview": [
|
|
188
|
+
{
|
|
189
|
+
"document": " ",
|
|
190
|
+
"input": "https://emr.tencentcloudapi.com/?Action=DescribeHBaseTableOverview\n&InstanceId=emr-111df6u6\n&Table=table_test\n&Offset=0\n&Limit=10\n&OrderField=\n&OrderType=\n&<Common request parameters>",
|
|
191
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"63cb3d88-2f61-4ae6-a989-ec4153f2bfd2\",\n \"SchemaList\": [\n {\n \"Name\": \"Table\",\n \"Sortable\": false,\n \"WithFilter\": false,\n \"Candidates\": null,\n \"Clickable\": true,\n \"Title\": \"Table Name\"\n },\n {\n \"Name\": \"ReadRequestCount\",\n \"Sortable\": true,\n \"WithFilter\": false,\n \"Candidates\": null,\n \"Clickable\": false,\n \"Title\": \"Read Request Volume (requests per second)\"\n },\n {\n \"Name\": \"WriteRequestCount\",\n \"Sortable\": true,\n \"WithFilter\": false,\n \"Candidates\": null,\n \"Clickable\": false,\n \"Title\": \"Write Request Volume (requests per second)\"\n },\n {\n \"Name\": \"MemstoreSize\",\n \"Sortable\": true,\n \"WithFilter\": false,\n \"Candidates\": null,\n \"Clickable\": false,\n \"Title\": \"MemStore Size (byte)\"\n },\n {\n \"Name\": \"StoreFileSize\",\n \"Sortable\": true,\n \"WithFilter\": false,\n \"Candidates\": null,\n \"Clickable\": false,\n \"Title\": \"StoreFile Size (byte)\"\n },\n {\n \"Name\": \"Operation\",\n \"Sortable\": false,\n \"WithFilter\": false,\n \"Candidates\": null,\n \"Clickable\": true,\n \"Title\": \"Operation\"\n }\n ],\n \"TableMonitorList\": [\n {\n \"Table\": \"default_TEST\",\n \"ReadRequestCount\": 0,\n \"WriteRequestCount\": 0,\n \"MemstoreSize\": 0,\n \"StoreFileSize\": 0,\n \"Operation\": \"regions\"\n },\n {\n \"Table\": \"default_test\",\n \"ReadRequestCount\": 0,\n \"WriteRequestCount\": 0,\n \"MemstoreSize\": 0,\n \"StoreFileSize\": 4950,\n \"Operation\": \"regions\"\n }\n ],\n \"TotalCount\": 2\n }\n}",
|
|
192
|
+
"title": "Querying Overview Information on HBase Table Monitoring"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"DescribeHDFSStorageInfo": [
|
|
196
|
+
{
|
|
197
|
+
"document": "",
|
|
198
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHDFSStorageInfo\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StartTime\": 1729746447,\n \"EndTime\": 1729746447\n}",
|
|
199
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"040d2297-a88c-4b68-acd4-a48be8699270\",\n \"SampleTime\": 1729738900,\n \"StorageSummaryDistribution\": [\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"177\"\n }\n ],\n \"MetricItem\": \"empty_count\",\n \"MetricName\": \"Empty File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"1471\"\n }\n ],\n \"MetricItem\": \"hot_count\",\n \"MetricName\": \"Hot File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"133\"\n }\n ],\n \"MetricItem\": \"other_atime_count\",\n \"MetricName\": \"Other\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"14405757446\"\n }\n ],\n \"MetricItem\": \"other_file_size\",\n \"MetricName\": \"Other\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"1669\"\n }\n ],\n \"MetricItem\": \"warm_count\",\n \"MetricName\": \"Warm File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"2767\"\n }\n ],\n \"MetricItem\": \"small_count\",\n \"MetricName\": \"Small File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"485404741\"\n }\n ],\n \"MetricItem\": \"small_file_size\",\n \"MetricName\": \"Small File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"14891162187\"\n }\n ],\n \"MetricItem\": \"total_size\",\n \"MetricName\": \"Total Volume\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"5474041684\"\n }\n ],\n \"MetricItem\": \"warm_size\",\n \"MetricName\": \"Warm File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"0\"\n }\n ],\n \"MetricItem\": \"big_count\",\n \"MetricName\": \"Large File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"0\"\n }\n ],\n \"MetricItem\": \"big_file_size\",\n \"MetricName\": \"Large File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"0\"\n }\n ],\n \"MetricItem\": \"cold_size\",\n \"MetricName\": \"Cold File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"2206625015\"\n }\n ],\n \"MetricItem\": \"other_atime_size\",\n \"MetricName\": \"Other\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"329\"\n }\n ],\n \"MetricItem\": \"other_count\",\n \"MetricName\": \"Other\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"3273\"\n }\n ],\n \"MetricItem\": \"total_count\",\n \"MetricName\": \"Total Amount\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"0\"\n }\n ],\n \"MetricItem\": \"cold_count\",\n \"MetricName\": \"Cold File\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"7210495488\"\n }\n ],\n \"MetricItem\": \"hot_size\",\n \"MetricName\": \"Hot File\"\n }\n ]\n }\n}",
|
|
200
|
+
"title": "DescribeHDFSStorageInfo"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
59
203
|
"DescribeHiveQueries": [
|
|
60
204
|
{
|
|
61
205
|
"document": "Inquiring Hive Query Data",
|
|
@@ -64,35 +208,91 @@
|
|
|
64
208
|
"title": "Inquiring Hive Query Data"
|
|
65
209
|
}
|
|
66
210
|
],
|
|
211
|
+
"DescribeInsightList": [
|
|
212
|
+
{
|
|
213
|
+
"document": "",
|
|
214
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInsightList\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-d82w3t9p\",\n \"PageSize\": 10,\n \"StartTime\": 1701792000,\n \"EndTime\": 1701878399,\n \"Page\": 1\n}",
|
|
215
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 9,\n \"RequestId\": \"12345678999\",\n \"ResultList\": [\n {\n \"ScheduleTaskName\": \"\",\n \"RuleID\": \"HIVE-ScanManyPartition\",\n \"ScheduleTaskExecID\": \"\",\n \"ScheduleFlowName\": \"\",\n \"Detail\": \"easechen_dw.test_orc big scan\",\n \"Value\": 0,\n \"RuleExplain\": \"The number of scanned partitions exceeds 80% of the total table partitions.\",\n \"Suggestion\": \"Add partitioned scan conditions.\",\n \"RuleName\": \"HIVE-Large Table Scan\",\n \"JobConf\": \"\",\n \"Type\": \"HIVE\",\n \"ID\": \"hadoop_20231206140857_1bbd81e2-b752-424b-aa61-a811a40c3099\"\n }\n ]\n }\n}",
|
|
216
|
+
"title": "Obtaining Insight Information"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"DescribeInspectionTaskResult": [
|
|
220
|
+
{
|
|
221
|
+
"document": " ",
|
|
222
|
+
"input": "https://emr.tencentcloudapi.com/?Action=DescribeInspectionTaskResult\r\n&InstanceId=emr-nwb7sg2o\r\n&StartTime=1589900474\r\n&EndTime=1589910630\r\n&<Common request parameters>",
|
|
223
|
+
"output": "{\n \"Response\": {\n \"InspectionResultInfo\": \"W3siSWQiOiI5MDciLCJUaW1lIjoiMjAyNS0wNC0xNSAxNTozNzo1NyIsIk5hbWUiOiJlbXItbXd5aXh3eHBfMjAyNTA0MTVfMTUzNzU3LnBkZiIsIlR5cGUiOiLljbPml7YiLCJTdGF0dXMiOiLmiqXlkYrnlJ/miJDkuK0iLCJMaW5rIjoiLSIsIk9uTGluZVN0YXR1cyI6MX0seyJJZCI6IjkwNiIsIlRpbWUiOiIyMDI1LTA0LTE1IDE1OjAzOjU0IiwiTmFtZSI6ImVtci1td3lpeHd4cF8yMDI1MDQxNV8xNTAzNTQucGRmIiwiVHlwZSI6IuWNs+aXtiIsIlN0YXR1cyI6IuW3sueUn+aIkCIsIkxpbmsiOiJodHRwczovL2Vtcy1pbnNwZWN0aW9uLXJlcG9ydC1jcS0xMjU5MzUzMzQzLmNvcy5hcC1jaG9uZ3FpbmcubXlxY2xvdWQuY29tL2NxL2Vtci1td3lpeHd4cC9lbXItbXd5aXh3eHBfMjAyNTA0MTVfMTUwMzU0LnBkZj9xLXNpZ24tYWxnb3JpdGhtPXNoYTFcdTAwMjZxLWFrPUFLSUR5bEliamJDWGJPdFk5Wm9mSmwxM3JVd0FOQ3FIWGxuWlx1MDAyNnEtc2lnbi10aW1lPTE3NDQ3MDA3MDMlM0IxNzYwNzcxMTAzXHUwMDI2cS1rZXktdGltZT0xNzQ0NzAwNzAzJTNCMTc2MDc3MTEwM1x1MDAyNnEtaGVhZGVyLWxpc3Q9aG9zdFx1MDAyNnEtdXJsLXBhcmFtLWxpc3Q9XHUwMDI2cS1zaWduYXR1cmU9NDcwZGQyNzlmYjg1OTE3MzliYTdkYmYzNDhjOTZlNWZlOWRmMzM0NSIsIk9uTGluZVN0YXR1cyI6Mn1d\",\n \"RequestId\": \"fd0ea005-5d84-4d21-ac87-8e02f7910795\",\n \"Total\": 2,\n \"TypeInfo\": \"eyJGaXhlZFRpbWUiOiLlrprml7YiLCJSZWFsVGltZSI6IuWNs+aXtiJ9\"\n }\n}",
|
|
224
|
+
"title": "[Monitoring] Obtaining the Inspection Task Result List"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
67
227
|
"DescribeInstances": [
|
|
68
228
|
{
|
|
69
|
-
"document": "
|
|
229
|
+
"document": "This example shows you how to query instance details.",
|
|
70
230
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"DisplayStrategy\": \"clusterList\",\n \"ProjectId\": \"0\",\n \"Asc\": \"0\",\n \"Limit\": \"10\",\n \"OrderField\": \"clusterid\",\n \"Offset\": \"0\",\n \"InstanceIds\": [\n \"emr-p9f700x8\"\n ]\n}",
|
|
71
|
-
"output": "{\n \"Response\": {\n \"ClusterList\": [\n {\n \"AddTime\": \"
|
|
231
|
+
"output": "{\n \"Response\": {\n \"ClusterList\": [\n {\n \"AddTime\": \"2024-11-05 20:39:44\",\n \"AlarmInfo\": \"\",\n \"AliasInfo\": \"eyJjb21tb24iOiJjb21tb24iLCJjb3JlIjoiY29yZSIsIm1hc3RlciI6Im1hc3RlciIsInRhc2siOiJ0YXNrIn0=\",\n \"AppId\": 1334143,\n \"ChargeType\": 0,\n \"ClusterExternalServiceInfo\": null,\n \"ClusterId\": \"emr-hvijzo6n\",\n \"ClusterName\": \"odinlli_test_1105\",\n \"ClusterTitle\": \"Cluster Is Running\",\n \"Config\": {\n \"ApplicationRole\": \"\",\n \"CbsEncrypt\": 0,\n \"ChargeType\": 0,\n \"ComNodeSize\": 0,\n \"ComResource\": {\n \"Cpu\": 0,\n \"DiskSize\": 0,\n \"DiskType\": \"\",\n \"InstanceType\": \"\",\n \"MemSize\": 0,\n \"RootSize\": 0,\n \"Spec\": \"\",\n \"SpecName\": \"\",\n \"StorageType\": 0\n },\n \"CoreNodeSize\": 2,\n \"CoreResource\": {\n \"Cpu\": 4,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_SSD\",\n \"InstanceType\": \"\",\n \"MemSize\": 8192,\n \"RootSize\": 70,\n \"Spec\": \"CVM.S5\",\n \"SpecName\": \"EMR Standard S5\",\n \"StorageType\": 4\n },\n \"MasterNodeSize\": 1,\n \"MasterResource\": {\n \"Cpu\": 8,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_SSD\",\n \"InstanceType\": \"\",\n \"MemSize\": 16384,\n \"RootSize\": 70,\n \"Spec\": \"CVM.S5\",\n \"SpecName\": \"EMR Standard S5\",\n \"StorageType\": 4\n },\n \"OnCos\": false,\n \"PublicKeyId\": \"\",\n \"RouterNodeSize\": 0,\n \"SecurityGroup\": \"sg-jfluz1nt\",\n \"SecurityGroups\": [\n \"sg-jfluz1nt\"\n ],\n \"SecurityOn\": false,\n \"SoftInfo\": [\n \"hdfs-3.2.2\",\n \"yarn-3.2.2\",\n \"zookeeper-3.6.3\",\n \"openldap-2.4.44\",\n \"knox-1.6.1\"\n ],\n \"SupportHA\": false,\n \"TaskNodeSize\": 0,\n \"TaskResource\": {\n \"Cpu\": 0,\n \"DiskSize\": 0,\n \"DiskType\": \"\",\n \"InstanceType\": \"\",\n \"MemSize\": 0,\n \"RootSize\": 0,\n \"Spec\": \"\",\n \"SpecName\": \"\",\n \"StorageType\": 0\n }\n },\n \"ConfigDetail\": {\n \"ApplicationRole\": \"\",\n \"CbsEncrypt\": 0,\n \"ChargeType\": 0,\n \"ComNodeSize\": 0,\n \"ComResource\": {\n \"Cpu\": 0,\n \"DiskSize\": 0,\n \"DiskType\": \"\",\n \"InstanceType\": \"\",\n \"MemSize\": 0,\n \"RootSize\": 0,\n \"Spec\": \"\",\n \"SpecName\": \"\",\n \"StorageType\": 0\n },\n \"CoreNodeSize\": 2,\n \"CoreResource\": {\n \"Cpu\": 4,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_SSD\",\n \"InstanceType\": \"\",\n \"MemSize\": 8192,\n \"RootSize\": 70,\n \"Spec\": \"CVM.S5\",\n \"SpecName\": \"EMR Standard S5\",\n \"StorageType\": 4\n },\n \"MasterNodeSize\": 1,\n \"MasterResource\": {\n \"Cpu\": 8,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_SSD\",\n \"InstanceType\": \"\",\n \"MemSize\": 16384,\n \"RootSize\": 70,\n \"Spec\": \"CVM.S5\",\n \"SpecName\": \"EMR Standard S5\",\n \"StorageType\": 4\n },\n \"OnCos\": false,\n \"PublicKeyId\": \"\",\n \"RouterNodeSize\": 0,\n \"SecurityGroup\": \"sg-jfluz1nt\",\n \"SecurityGroups\": [\n \"sg-jfluz1nt\"\n ],\n \"SecurityOn\": false,\n \"SoftInfo\": [\n \"hdfs-3.2.2\",\n \"yarn-3.2.2\",\n \"zookeeper-3.6.3\",\n \"openldap-2.4.44\",\n \"knox-1.6.1\"\n ],\n \"SupportHA\": false,\n \"TaskNodeSize\": 0,\n \"TaskResource\": {\n \"Cpu\": 0,\n \"DiskSize\": 0,\n \"DiskType\": \"\",\n \"InstanceType\": \"\",\n \"MemSize\": 0,\n \"RootSize\": 0,\n \"Spec\": \"\",\n \"SpecName\": \"\",\n \"StorageType\": 0\n }\n },\n \"DisplayName\": \"Default Scenario\",\n \"EmrVersion\": \"EMR-V3.5.0\",\n \"Ftitle\": \"Cluster Is Running\",\n \"HiveMetaDb\": \"\",\n \"Id\": 1113,\n \"IsCvmReplace\": false,\n \"IsMultiZoneCluster\": false,\n \"IsTradeCluster\": 0,\n \"IsWoodpeckerCluster\": 1,\n \"MasterIp\": \"0.0.0.0\",\n \"MetaDb\": \"\",\n \"ProductId\": 44,\n \"ProjectId\": 0,\n \"RegionId\": 1,\n \"ResourceOrderId\": 0,\n \"RunTime\": \"0 day 0 hour 32 minutes and 20 seconds\",\n \"SceneEmrVersion\": \"EMR-V3.5.0\",\n \"SceneName\": \"Hadoop-Default\",\n \"SceneServiceClass\": \"Hadoop\",\n \"ServiceClass\": \"HADOOP\",\n \"Status\": 2,\n \"SubnetId\": 6131299,\n \"SubnetName\": \"vigo-subnet\",\n \"Tags\": [],\n \"TopologyInfoList\": [\n {\n \"NodeInfoList\": [\n {\n \"NodeSize\": 2,\n \"NodeType\": \"Core\"\n },\n {\n \"NodeSize\": 0,\n \"NodeType\": \"Task\"\n },\n {\n \"NodeSize\": 0,\n \"NodeType\": \"Router\"\n },\n {\n \"NodeSize\": 0,\n \"NodeType\": \"Common\"\n },\n {\n \"NodeSize\": 1,\n \"NodeType\": \"Master\"\n }\n ],\n \"SubnetInfoList\": [\n {\n \"SubnetId\": \"subnet-ax8z9f1u\",\n \"SubnetName\": \"vigo-subnet\"\n }\n ],\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n }\n ],\n \"TradeVersion\": 1,\n \"Uin\": \"0000000\",\n \"UniqSubnetId\": \"subnet-ax8z9f1u\",\n \"UniqVpcId\": \"vpc-r2g15ki3\",\n \"VpcId\": 10421586,\n \"VpcName\": \"vigo-vpc\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n }\n ],\n \"RequestId\": \"7fd5fb20-1b1f-4425-ad13-1763f0f7f8dc\",\n \"TagKeys\": [],\n \"TotalCnt\": 1\n }\n}",
|
|
72
232
|
"title": "Querying Instance Details"
|
|
73
233
|
}
|
|
74
234
|
],
|
|
75
235
|
"DescribeInstancesList": [
|
|
76
236
|
{
|
|
77
|
-
"document": "
|
|
237
|
+
"document": "This example shows you how to query instance details.",
|
|
78
238
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesList\n<Common request parameters>\n\n{\n \"Asc\": \"0\",\n \"DisplayStrategy\": \"clusterList\",\n \"Limit\": \"10\",\n \"OrderField\": \"clusterid\",\n \"Offset\": \"0\"\n}",
|
|
79
|
-
"output": "{\n \"Response\": {\n \"
|
|
239
|
+
"output": "{\n \"Response\": {\n \"InstancesList\": [\n {\n \"AddTime\": \"2024-11-04 15:54:58\",\n \"AlarmInfo\": \"\",\n \"AppId\": 11111,\n \"ChargeType\": 1,\n \"ClusterClass\": \"Hadoop\",\n \"ClusterId\": \"emr-111\",\n \"ClusterName\": \"EMR-1111\",\n \"EmrVersion\": \"\",\n \"Id\": 1016390,\n \"IsDedicatedCluster\": false,\n \"IsHandsCluster\": false,\n \"IsMultiZoneCluster\": false,\n \"IsSupportOutsideCluster\": true,\n \"IsWoodpeckerCluster\": 1,\n \"MasterIp\": \"--\",\n \"OutSideSoftInfo\": [\n {\n \"Required\": true,\n \"SoftName\": \"hdfs-3.2.2\"\n },\n {\n \"Required\": true,\n \"SoftName\": \"yarn-3.2.2\"\n },\n {\n \"Required\": false,\n \"SoftName\": \"hive-3.1.3\"\n },\n {\n \"Required\": false,\n \"SoftName\": \"hbase-2.4.5\"\n },\n {\n \"Required\": false,\n \"SoftName\": \"spark-3.2.2\"\n }\n ],\n \"ProductId\": 44,\n \"ProjectId\": 1325150,\n \"RegionId\": 1,\n \"RunTime\": \"1 day 5 hours 24 minutes and 6 seconds\",\n \"Status\": 2,\n \"StatusDesc\": \"The cluster is running.\",\n \"SubnetId\": 6059972,\n \"SubnetName\": \"zefa-111\",\n \"Tags\": [\n {\n \"TagKey\": \"tke-111\",\n \"TagValue\": \"cos-111\"\n }\n ],\n \"UniqSubnetId\": \"subnet-pan0t01q\",\n \"UniqVpcId\": \"vpc-hitz5lsz\",\n \"VpcId\": 10412940,\n \"VpcName\": \"zefa-111\",\n \"Zone\": \"ap-guangzhou-7\",\n \"ZoneId\": 100007\n }\n ],\n \"RequestId\": \"3664d030-623c-40fb-bf19-f69a2d58dfe2\",\n \"TotalCnt\": 1\n }\n}",
|
|
80
240
|
"title": "Querying Instance Details"
|
|
81
241
|
}
|
|
82
242
|
],
|
|
243
|
+
"DescribeKyuubiQueryInfo": [
|
|
244
|
+
{
|
|
245
|
+
"document": "",
|
|
246
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKyuubiQueryInfo\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-1qop4l3e\",\n \"PageSize\": 10,\n \"Page\": 1,\n \"StartTime\": 1722327682,\n \"EndTime\": 1722328091\n}",
|
|
247
|
+
"output": "{\n \"Response\": {\n \"KyuubiQueryInfoList\": [\n {\n \"ClientIP\": \"10.0.2.42\",\n \"Duration\": 5895,\n \"EndTime\": 1722328097,\n \"EngineID\": \"null\",\n \"EngineType\": \"SPARK_SQL\",\n \"Id\": \"d4cfc064-b7d9-43ec-a766-60013c592dd4\",\n \"SessionID\": \"1c3cdb57-e0b3-489a-804e-662600a24f1d\",\n \"BeginTime\": 1722328091,\n \"ExecutionState\": \"FINISHED\",\n \"ExecutionStatement\": \"select * from kyuubi_test.kyuubi_new_user_tb order by id ASC\",\n \"StatementID\": \"d4cfc064-b7d9-43ec-a766-60013c592dd4\",\n \"User\": \"new_kyuubi_user\"\n }\n ],\n \"RequestId\": \"cfbbbe0f-5d30-4bf7-b87b-428b14ac3ws41\",\n \"TotalCount\": 10\n }\n}",
|
|
248
|
+
"title": "DescribeKyuubiQueryInfo"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"DescribeNodeDataDisks": [
|
|
252
|
+
{
|
|
253
|
+
"document": " ",
|
|
254
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNodeDataDisks\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-xxxxxxx\",\n \"CvmInstanceIds\": [\n \"ins-xxxxxxxx\"\n ]\n}",
|
|
255
|
+
"output": "{\n \"Response\": {\n \"CBSList\": [\n {\n \"Attached\": true,\n \"DeadlineTime\": \"\",\n \"DeleteWithInstance\": true,\n \"DifferDaysOfDeadline\": 0,\n \"DiskChargeType\": \"POSTPAID_BY_HOUR\",\n \"DiskId\": \"disk-bpcm1kg4\",\n \"DiskName\": \"emr-Master.1_emr-gzpmy487_data disk_1\",\n \"DiskSize\": 200,\n \"DiskState\": \"ATTACHED\",\n \"DiskType\": \"CLOUD_HSSD\",\n \"DiskUsage\": \"DATA_DISK\",\n \"InstanceId\": \"ins-4y5u591o\",\n \"InstanceIdList\": [\n \"ins-4y5u591o\"\n ],\n \"RenewFlag\": \"\",\n \"Shareable\": false\n }\n ],\n \"RequestId\": \"e681bb5e-e0b9-49ba-b3bd-be504a76e91b\",\n \"TotalCount\": 1\n }\n}",
|
|
256
|
+
"title": "Querying Node Data Disk Information"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"DescribeNodeResourceConfigFast": [
|
|
260
|
+
{
|
|
261
|
+
"document": " ",
|
|
262
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNodeResourceConfigFast\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-laoxdz4n\",\n \"ResourceType\": \"ALL\",\n \"PayMode\": 0\n}",
|
|
263
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"ResourceData\": [\n {\n \"CreateTime\": \"2024-03-25 17:52:23\",\n \"IsDefault\": \"DEFAULT\",\n \"MaxResourceNum\": 0,\n \"Resource\": {\n \"Cpu\": 4,\n \"DiskNum\": 1,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_SSD\",\n \"InstanceType\": \"SA2.LARGE8\",\n \"LocalDiskNum\": 0,\n \"MemSize\": 8192,\n \"MultiDisks\": [],\n \"RootSize\": 70,\n \"Spec\": \"CVM.SA2\",\n \"StorageType\": 4,\n \"Tags\": null\n },\n \"ResourceConfigId\": 20332,\n \"UpdateTime\": \"2024-03-25 17:52:23\"\n }\n ],\n \"ResourceType\": \"CORE\"\n },\n {\n \"ResourceData\": [\n {\n \"CreateTime\": \"2024-04-08 15:13:04\",\n \"IsDefault\": \"DEFAULT\",\n \"MaxResourceNum\": 0,\n \"Resource\": {\n \"Cpu\": 8,\n \"DiskNum\": 1,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_HSSD\",\n \"InstanceType\": \"S6.2XLARGE32\",\n \"LocalDiskNum\": 0,\n \"MemSize\": 32768,\n \"MultiDisks\": [],\n \"RootSize\": 70,\n \"Spec\": \"CVM.S6\",\n \"StorageType\": 6,\n \"Tags\": null\n },\n \"ResourceConfigId\": 20560,\n \"UpdateTime\": \"2024-04-08 15:13:04\"\n }\n ],\n \"ResourceType\": \"TASK\"\n },\n {\n \"ResourceData\": [\n {\n \"CreateTime\": \"2024-04-08 22:04:42\",\n \"IsDefault\": \"DEFAULT\",\n \"MaxResourceNum\": 0,\n \"Resource\": {\n \"Cpu\": 4,\n \"DiskNum\": 1,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_HSSD\",\n \"InstanceType\": \"SA2.LARGE8\",\n \"LocalDiskNum\": 0,\n \"MemSize\": 8192,\n \"MultiDisks\": [],\n \"RootSize\": 70,\n \"Spec\": \"CVM.SA2\",\n \"StorageType\": 6,\n \"Tags\": null\n },\n \"ResourceConfigId\": 20563,\n \"UpdateTime\": \"2024-04-08 22:04:42\"\n }\n ],\n \"ResourceType\": \"ROUTER\"\n }\n ],\n \"RequestId\": \"638ef562-a954-4963-ae70-b54c2dd2bf94\"\n }\n}",
|
|
264
|
+
"title": "Invoking the DescribeNodeResourceConfigFast API"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"DescribeNodeSpec": [
|
|
268
|
+
{
|
|
269
|
+
"document": "",
|
|
270
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNodeSpec\n<Common request parameters>\n\n{\n \"ZoneId\": 190001,\n \"CvmPayMode\": 0,\n \"NodeType\": \"All\",\n \"TradeType\": 3,\n \"ProductId\": 30,\n \"SceneName\": \"Hadoop-Default\"\n}",
|
|
271
|
+
"output": "{\n \"Response\": {\n \"NodeSpecs\": [\n {\n \"CmnTypes\": [],\n \"NodeName\": \"Master Node\",\n \"NodeType\": \"Master\",\n \"Types\": [\n {\n \"InstanceFamilies\": [\n {\n \"FamilyName\": \"Standard S6\",\n \"InstanceFamily\": \"S6\",\n \"InstanceTypes\": [],\n \"Order\": 60\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"bb613114-cbe0-4fc1-8845-1d69e4f35e7a\"\n }\n}",
|
|
272
|
+
"title": "Querying Node Specifications"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
83
275
|
"DescribeResourceSchedule": [
|
|
84
276
|
{
|
|
85
277
|
"document": " ",
|
|
86
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourceSchedule\n<Common request parameters>\n\n{\n \"InstanceId\": \"
|
|
87
|
-
"output": "{\n \"Response\": {\n \"FSInfo\": \"xx\",\n \"CSInfo\": \"xx\",\n \"Scheduler\": \"xx\",\n \"OpenSwitch\": true,\n \"RequestId\": \"xx\"\n }\n}",
|
|
278
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourceSchedule\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-123\"\n}",
|
|
279
|
+
"output": "{\n \"Response\": {\n \"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}\",\n \"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}]}\",\n \"OpenSwitch\": true,\n \"RequestId\": \"69baff80-b6d4-44e7-a504-84bcb9f90b6f\",\n \"Scheduler\": \"{\\\"Name\\\":\\\"capacity\\\",\\\"FlowId\\\":null}\"\n }\n}",
|
|
88
280
|
"title": "test"
|
|
89
281
|
}
|
|
90
282
|
],
|
|
283
|
+
"DescribeResourceScheduleDiffDetail": [
|
|
284
|
+
{
|
|
285
|
+
"document": "",
|
|
286
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourceScheduleDiffDetail\n<Common request parameters>\n\n\n\n{\n \"InstanceId\": \"emr-xxx\",\n \"Scheduler\": \"fair\"\n}",
|
|
287
|
+
"output": "{\n \"Response\": {\n \"Details\": [\n {\n \"Count\": 1,\n \"Header\": [\n {\n \"Id\": \"Attribute\",\n \"Name\": \"Attribute\"\n },\n {\n \"Id\": \"InEffect\",\n \"Name\": \"Current Effective Value\"\n },\n {\n \"Id\": \"PendingEffectiveness\",\n \"Name\": \"Pending Effective Value\"\n },\n {\n \"Id\": \"Operation\",\n \"Name\": \"Operation\"\n }\n ],\n \"Name\": \"Global Configuration\",\n \"Rows\": [\n {\n \"Attribute\": \"Scheduler\",\n \"InEffect\": \"fair\",\n \"Operation\": \"Update\",\n \"PendingEffectiveness\": \"capacity\"\n }\n ]\n },\n {\n \"Count\": 1,\n \"Header\": [\n {\n \"Id\": \"Attribute\",\n \"Name\": \"Attribute\"\n },\n {\n \"Id\": \"InEffect\",\n \"Name\": \"Current Effective Value\"\n },\n {\n \"Id\": \"PendingEffectiveness\",\n \"Name\": \"Pending Effective Value\"\n },\n {\n \"Id\": \"Operation\",\n \"Name\": \"Operation\"\n }\n ],\n \"Name\": \"Tag Switch\",\n \"Rows\": [\n {\n \"Attribute\": \"LabelDir\",\n \"InEffect\": \"\",\n \"Operation\": \"Update\",\n \"PendingEffectiveness\": \"\"\n }\n ]\n }\n ],\n \"RequestId\": \"50ed72af-1cc9-4566-8080-3594994aea80\"\n }\n}",
|
|
288
|
+
"title": "Obtaining YARN Configuration Modification Details"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
91
291
|
"DescribeSLInstance": [
|
|
92
292
|
{
|
|
93
293
|
"document": "This example shows you how to query Serverless HBase instance information.",
|
|
94
294
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSLInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-3o9tms4i\"\n}",
|
|
95
|
-
"output": "{\n \"Response\": {\n \"DiskSize\": 100,\n \"DiskType\": \"ESSD\",\n \"InstanceName\": \"sl-haoyuhua-test-create\",\n \"NodeType\": \"4C16G\",\n \"PayMode\": 0,\n \"RequestId\": \"a316989f-9316-4205-a2a3-64ab841aee14\",\n \"ZoneSettings\": [\n {\n \"NodeNum\": 1,\n \"VPCSettings\": {\n \"SubnetId\": \"subnet-5bhc4kly\",\n \"VpcId\": \"vpc-dcfhrh73\"\n },\n \"Zone\": \"ap-guangzhou-
|
|
295
|
+
"output": "{\n \"Response\": {\n \"DiskSize\": 100,\n \"DiskType\": \"ESSD\",\n \"InstanceName\": \"sl-haoyuhua-test-create\",\n \"NodeType\": \"4C16G\",\n \"PayMode\": 0,\n \"RequestId\": \"a316989f-9316-4205-a2a3-64ab841aee14\",\n \"ZoneSettings\": [\n {\n \"NodeNum\": 1,\n \"VPCSettings\": {\n \"SubnetId\": \"subnet-5bhc4kly\",\n \"VpcId\": \"vpc-dcfhrh73\"\n },\n \"Zone\": \"ap-guangzhou-6\"\n },\n {\n \"NodeNum\": 1,\n \"VPCSettings\": {\n \"SubnetId\": \"subnet-5bhc4kly\",\n \"VpcId\": \"vpc-dcfhrh73\"\n },\n \"Zone\": \"ap-guangzhou-6\"\n },\n {\n \"NodeNum\": 1,\n \"VPCSettings\": {\n \"SubnetId\": \"subnet-5bhc4kly\",\n \"VpcId\": \"vpc-dcfhrh73\"\n },\n \"Zone\": \"ap-guangzhou-6\"\n }\n ]\n }\n}",
|
|
96
296
|
"title": "Querying Serverless HBase Instance Information"
|
|
97
297
|
}
|
|
98
298
|
],
|
|
@@ -100,18 +300,82 @@
|
|
|
100
300
|
{
|
|
101
301
|
"document": "This example shows you how to query the Serverless HBase instance list.",
|
|
102
302
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSLInstanceList\n<Common request parameters>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"OrderField\": \"AddTime\",\n \"Asc\": 1,\n \"DisplayStrategy\": \"clusterList\",\n \"Filters\": []\n}",
|
|
103
|
-
"output": "{\n \"Response\": {\n \"InstancesList\": [\n {\n \"AddTime\": \"2024-03-14 17:40:19\",\n \"AppId\": 251233704,\n \"ClusterId\": \"emr-2ecolb9q\",\n \"ClusterName\": \"EMR-haosen\",\n \"Id\": 126358006,\n \"PayMode\": 0,\n \"RegionId\": 1,\n \"Status\": 3,\n \"StatusDesc\": \"Cluster in production\",\n \"SubnetId\": 2666622,\n \"Tags\": [],\n \"VpcId\": 11406751,\n \"Zone\": \"ap-guangzhou-
|
|
303
|
+
"output": "{\n \"Response\": {\n \"InstancesList\": [\n {\n \"AddTime\": \"2024-03-14 17:40:19\",\n \"AppId\": 251233704,\n \"ClusterId\": \"emr-2ecolb9q\",\n \"ClusterName\": \"EMR-haosen\",\n \"Id\": 126358006,\n \"PayMode\": 0,\n \"RegionId\": 1,\n \"Status\": 3,\n \"StatusDesc\": \"Cluster in production\",\n \"SubnetId\": 2666622,\n \"Tags\": [],\n \"VpcId\": 11406751,\n \"Zone\": \"ap-guangzhou-6\",\n \"ZoneId\": 100006\n }\n ],\n \"RequestId\": \"fde6361c-205a-45e5-8bec-34b9100fc5b0\",\n \"TotalCnt\": 1\n }\n}",
|
|
104
304
|
"title": "Querying the Serverless HBase Instance List"
|
|
105
305
|
}
|
|
106
306
|
],
|
|
307
|
+
"DescribeServiceConfGroupInfos": [
|
|
308
|
+
{
|
|
309
|
+
"document": "",
|
|
310
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServiceConfGroupInfos\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-cp4f67tz\",\n \"ServiceName\": \"HDFS\",\n \"ConfGroupName\": \"hdfs-core-defaultGroup\",\n \"PageNo\": 1,\n \"PageSize\": 10\n}",
|
|
311
|
+
"output": "{\n \"Response\": {\n \"ConfItemKVList\": [\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZGVsZWdhdGlvbi50b2tlbi5pZGVudGlmaWVyLnNlcmlhbGl6YXRpb24udmVyc2lvbg==\",\n \"Value\": \"MA==\"\n },\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZGVsZWdhdGlvbi50b2tlbi5pZGVudGlmaWVyLnRyYW5zbWlzc2lvbi52ZXJzaW9u\",\n \"Value\": \"MA==\"\n },\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZW1yLmNmcy5ncm91cC5pZC5tYXA=\",\n \"Value\": \"cm9vdDowO2hhZG9vcDo1MDA=\"\n },\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZW1yLmNmcy5pby5ibG9ja3NpemU=\",\n \"Value\": \"MTA0ODU3Ng==\"\n },\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZW1yLmNmcy51c2VyLmlkLm1hcA==\",\n \"Value\": \"cm9vdDowO2hhZG9vcDo1MDA=\"\n },\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZW1yLmNmcy53cml0ZS5sZXZlbA==\",\n \"Value\": \"Mg==\"\n },\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZW1yLnRlbXJmcy5kb3dubG9hZC5tZDU=\",\n \"Value\": \"NTNiNGY5NWQxYzQ0YTI2OGYxNmIwMDllNDNkYjcxMzA=\"\n },\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZW1yLnRlbXJmcy5kb3dubG9hZC5yZWdpb24=\",\n \"Value\": \"Z3o=\"\n },\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZW1yLnRlbXJmcy5kb3dubG9hZC52ZXJzaW9u\",\n \"Value\": \"My4xLjAtOC4yLjctMS4wLjg=\"\n },\n {\n \"InFile\": \"core-site.xml\",\n \"Name\": \"ZW1yLnRlbXJmcy50bXAuY2FjaGUuZGly\",\n \"Value\": \"L2RhdGEvZW1yL2hkZnMvdG1wL3RlbXJmcw==\"\n }\n ],\n \"RequestId\": \"d2d5d132-d5f9-4b76-90b3-a12756be5d92\",\n \"TotalCount\": 146\n }\n}",
|
|
312
|
+
"title": "Configuring Parameter Information for a Configuration Group"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"DescribeServiceNodeInfos": [
|
|
316
|
+
{
|
|
317
|
+
"document": "This example shows you how to query service process information.",
|
|
318
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServiceNodeInfos\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-3u\",\n \"Limit\": 999,\n \"Offset\": 0,\n \"ServiceName\": \"HIVE\"\n}",
|
|
319
|
+
"output": "{\n \"Response\": {\n \"AliasInfo\": \"13141313\",\n \"RequestId\": \"a90a9922-dc51-45a6-abdd-93f63cf02e57\",\n \"ServiceNodeList\": [\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"Port detection responds within 5s.\",\n \"Text\": \"Good\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:13:32\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveMetaStore\",\n \"NodeType\": 30,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"Port detection responds within 5s.\",\n \"Text\": \"Good\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:14:24\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveMetaStore\",\n \"NodeType\": 30,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"Port detection responds within 5s.\",\n \"Text\": \"Good\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:14:47\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveServer2\",\n \"NodeType\": 31,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"Port detection responds within 5s.\",\n \"Text\": \"good\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:14:54\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveServer2\",\n \"NodeType\": 31,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"Port detection responds within 5s.\",\n \"Text\": \"good\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:15:11\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveWebHcat\",\n \"NodeType\": 32,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"Port detection responds within 5s.\",\n \"Text\": \"good\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:15:39\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveWebHcat\",\n \"NodeType\": 32,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n }\n ],\n \"SupportNodeFlagFilterList\": [\n \"master\",\n \"core\",\n \"task\",\n \"common\",\n \"router\"\n ],\n \"TotalCnt\": 6\n }\n}",
|
|
320
|
+
"title": "Querying Service Process Information"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"DescribeSparkApplications": [
|
|
324
|
+
{
|
|
325
|
+
"document": "",
|
|
326
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInsightList\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-j14o941k\",\n \"PageSize\": 10,\n \"StartTime\": 1745944098,\n \"EndTime\": 1746030498,\n \"Page\": 1\n}",
|
|
327
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"RequestId-1746503327\",\n \"ResultList\": [\n {\n \"ID\": \"spark-49cdc7a5b06a46fca99c497a5b47e7f1\",\n \"Name\": \"kyuubi_CONNECTION_SPARK_SQL_hadoop_7043f4f2-c8b6-4681-8e7a-873e477c6db7\",\n \"User\": \"hadoop\",\n \"StartTime\": 1746003194374,\n \"EndTime\": 1746003394835,\n \"Duration\": 200461,\n \"State\": \"completed\",\n \"ApplicationType\": \"SPARK\",\n \"CoreSeconds\": 478,\n \"MemorySeconds\": \"489472 MB Seconds\",\n \"Insight\": \"UNKNOWN\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
|
328
|
+
"title": "Obtaining the Spark Application List"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"DescribeSparkQueries": [
|
|
332
|
+
{
|
|
333
|
+
"document": "",
|
|
334
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSparkQueries\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-njry92zr\",\n \"StartTime\": 1711078120,\n \"EndTime\": 1711088221,\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
|
335
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"690f07d6-ac3d-4211-896d-043824aaa0f0\",\n \"Total\": 1,\n \"Results\": [\n {\n \"Id\": \"2\",\n \"Status\": \"COMPLETED\",\n \"BeginTime\": 1711078220,\n \"ScanTotalData\": 0,\n \"ApplicationId\": [\n \"application_1710488265927_0018\"\n ],\n \"ScanRowNum\": 1,\n \"ScanFileNum\": 1,\n \"EndTime\": 1711078223,\n \"ScanPartitionNum\": 1,\n \"Statement\": \"select * from hive_table_p2 where dt='20240321.3'\",\n \"Duration\": 2924\n }\n ]\n }\n}",
|
|
336
|
+
"title": "Querying Spark Query Information"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"DescribeStarRocksQueryInfo": [
|
|
340
|
+
{
|
|
341
|
+
"document": "",
|
|
342
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStarrocksQueryInfo\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-1qop4l3e\",\n \"PageSize\": 10,\n \"Page\": 1,\n \"StartTime\": 1722327682,\n \"EndTime\": 1722328091\n}",
|
|
343
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"StarRocksQueryInfoList\": [\n {\n \"ClientIP\": \"192.0.0.1\",\n \"CPUCost\": 0,\n \"DefaultDB\": \"db_test\",\n \"EndTime\": 1721962352,\n \"ExecutionIP\": \"192.0.0.1\",\n \"QueryID\": \"1ac25f6c-4afa-11ef-b7cc-525400c756d2\",\n \"QueryType\": \"OTHERS\",\n \"MemCost\": 324,\n \"PlanCpuCosts\": 435620,\n \"PlanMemCosts\": 254354,\n \"QueryTime\": 345535,\n \"ResourceGroup\": \"SR\",\n \"ReturnRows\": 2452,\n \"ScanBytes\": 1235124,\n \"ScanRows\": 123512,\n \"BeginTime\": 1721962352,\n \"ExecutionState\": \"FINISHED\",\n \"ExecutionStatement\": \"show compute nodes\",\n \"User\": \"test_aa\"\n }\n ],\n \"RequestId\": \"1ac25f6c-4afa-11ef-b7cc-525400454wfaa1\"\n }\n}",
|
|
344
|
+
"title": "DescribeStarRocksQueryInfo"
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"DescribeTrinoQueryInfo": [
|
|
348
|
+
{
|
|
349
|
+
"document": "",
|
|
350
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTrinoQueryInfo\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-d82w3t9p\",\n \"PageSize\": 10,\n \"StartTime\": 1701792000,\n \"EndTime\": 1701878399,\n \"Page\": 1\n}",
|
|
351
|
+
"output": "{\n \"Response\": {\n \"QueryInfoList\": [\n {\n \"Catalog\": \"hive\",\n \"ClientIpAddr\": \"10.0.1.104\",\n \"CompletedSplits\": \"\",\n \"CpuTime\": 0,\n \"CumulativeMemory\": 0,\n \"DurationMillis\": 0,\n \"EndTime\": 0,\n \"Id\": \"20240708_111543_00007_lcmdbi8z\",\n \"InternalNetworkBytes\": 0,\n \"OutputBytes\": 0,\n \"PeakUserMemoryBytes\": 0,\n \"PhysicalInputBytes\": 0,\n \"ProcessedInputBytes\": 0,\n \"SqlCompileTime\": 0,\n \"StartTime\": 0,\n \"State\": \"QUEUED\",\n \"Statement\": \"create table impala_ranger\",\n \"User\": \"hadoop\",\n \"WrittenBytes\": 0\n }\n ],\n \"RequestId\": \"cfbbbe0f-5d30-4bf7-b87b-428b14ac3ws22\",\n \"TotalCount\": 18\n }\n}",
|
|
352
|
+
"title": "Querying Trino (PrestoSQL) Query Information"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
107
355
|
"DescribeUsersForUserManager": [
|
|
108
356
|
{
|
|
109
357
|
"document": " ",
|
|
110
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUsersForUserManager\n<Common request parameters>\n\n{\n \"InstanceId\": \"
|
|
358
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUsersForUserManager\n<Common request parameters>\n\n\n\n{\n \"InstanceId\": \"emr-jnyiihlc\",\n \"UserManagerFilter\": {\n \"UserName\": \"sam\"\n },\n \"PageSize\": 0,\n \"PageNo\": 0,\n \"NeedKeytabInfo\": true\n}",
|
|
111
359
|
"output": "{\n \"Response\": {\n \"RequestId\": \"782d3570-9f82-4bff-974a-17cf684fdfe9\",\n \"TotalCnt\": 4,\n \"UserManagerUserList\": [\n {\n \"CreateTime\": \"2022-05-12 17:40:23\",\n \"DownLoadKeyTabUrl\": \"\",\n \"SupportDownLoadKeyTab\": true,\n \"UserGroup\": \"test4\",\n \"UserName\": \"test4\",\n \"UserType\": \"NormalUser\"\n },\n {\n \"CreateTime\": \"2022-05-12 17:40:23\",\n \"DownLoadKeyTabUrl\": \"\",\n \"SupportDownLoadKeyTab\": true,\n \"UserGroup\": \"test3\",\n \"UserName\": \"test3\",\n \"UserType\": \"NormalUser\"\n },\n {\n \"CreateTime\": \"2022-05-12 17:40:23\",\n \"DownLoadKeyTabUrl\": \"https://cosulr/cluster/test2.keytab\",\n \"SupportDownLoadKeyTab\": true,\n \"UserGroup\": \"test2\",\n \"UserName\": \"test2\",\n \"UserType\": \"NormalUser\"\n },\n {\n \"CreateTime\": \"2022-05-12 17:40:23\",\n \"DownLoadKeyTabUrl\": \"https://cosulr/cluster/test1.keytab\",\n \"SupportDownLoadKeyTab\": true,\n \"UserGroup\": \"test1\",\n \"UserName\": \"test1\",\n \"UserType\": \"NormalUser\"\n }\n ]\n }\n}",
|
|
112
360
|
"title": "test"
|
|
113
361
|
}
|
|
114
362
|
],
|
|
363
|
+
"DescribeYarnQueue": [
|
|
364
|
+
{
|
|
365
|
+
"document": "",
|
|
366
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeYarnQueue\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-fa13\",\n \"Scheduler\": \"capacity\"\n}",
|
|
367
|
+
"output": "{\n \"Response\": {\n \"Queue\": \"{\\\"name\\\":\\\"root\\\",\\\"myId\\\":\\\"root\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":null,\\\"maximum-capacity\\\":null,\\\"state\\\":0},{\\\"labelName\\\":\\\"test\\\",\\\"capacity\\\":null,\\\"maximum-capacity\\\":null,\\\"state\\\":0},{\\\"labelName\\\":\\\"test2\\\",\\\"capacity\\\":null,\\\"maximum-capacity\\\":null,\\\"state\\\":0}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":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,\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"isDefault\\\":null,\\\"isRoot\\\":true,\\\"queues\\\":[{\\\"name\\\":\\\"default\\\",\\\"myId\\\":\\\"root.default\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":50,\\\"maximum-capacity\\\":100,\\\"state\\\":0}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":1,\\\"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,\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"isDefault\\\":true,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"q1\\\",\\\"myId\\\":\\\"root.q1\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":50,\\\"maximum-capacity\\\":100,\\\"state\\\":0},{\\\"labelName\\\":\\\"test\\\",\\\"capacity\\\":100,\\\"maximum-capacity\\\":100,\\\"state\\\":0}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"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\\\":\\\"*\\\"},\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]}]}\",\n \"Version\": \"v3\",\n \"RequestId\": \"3f63c907-d4e4-4856-b05d-949eedc2151a\"\n }\n}",
|
|
368
|
+
"title": "Obtaining Queue Information on Resource Scheduling"
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
"DescribeYarnScheduleHistory": [
|
|
372
|
+
{
|
|
373
|
+
"document": "",
|
|
374
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeYarnScheduleHistory\n<Common request parameters>\n\n\n\n{\n \"InstanceId\": \"emr-a903oah8\",\n \"StartTime\": 1722873600,\n \"EndTime\": 1722959999,\n \"Limit\": 10,\n \"Offset\": 0,\n \"SchedulerType\": \"All\",\n \"TaskState\": -99\n}",
|
|
375
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c38e1833-e164-488c-9817-e8ca75d8d214\",\n \"SchedulerNameList\": [\n \"Capacity Scheduler\",\n \"Fair Scheduler\"\n ],\n \"StateList\": [\n 0,\n 1,\n 2,\n -1\n ],\n \"Tasks\": [\n {\n \"CreateTime\": \"2024-08-07 19:13:38\",\n \"Details\": [\n {\n \"FailReason\": \"\",\n \"JobId\": 40005,\n \"Progress\": \"9%\",\n \"Step\": \"Start\"\n },\n {\n \"FailReason\": \"\",\n \"JobId\": 40005,\n \"Progress\": \"45%\",\n \"Step\": \"Write capacity-scheduler.xml\"\n },\n {\n \"FailReason\": \"\",\n \"JobId\": 40005,\n \"Progress\": \"63%\",\n \"Step\": \"Restart resource manager\"\n },\n {\n \"FailReason\": \"\",\n \"JobId\": 40005,\n \"Progress\": \"100%\",\n \"Step\": \"End\"\n }\n ],\n \"EndTime\": \"2024-08-07 19:13:48\",\n \"OperatorName\": \"change capacity scheduler,disable label,refresh dynamic pools,restart resource manager\",\n \"SchedulerName\": \"Capacity Scheduler\",\n \"State\": 2\n },\n {\n \"CreateTime\": \"2024-08-06 14:30:02\",\n \"Details\": [\n {\n \"FailReason\": \"\",\n \"JobId\": 40000,\n \"Progress\": \"9%\",\n \"Step\": \"Start\"\n },\n {\n \"FailReason\": \"\",\n \"JobId\": 40000,\n \"Progress\": \"45%\",\n \"Step\": \"Write capacity-scheduler.xml\"\n },\n {\n \"FailReason\": \"The task was canceled because of a timeout\",\n \"JobId\": 40000,\n \"Progress\": \"63%\",\n \"Step\": \"Restart resource manager\"\n }\n ],\n \"EndTime\": \"2024-08-06 14:35:05\",\n \"OperatorName\": \"change capacity scheduler,disable label,refresh dynamic pools,restart resource manager\",\n \"SchedulerName\": \"Capacity Scheduler\",\n \"State\": -1\n },\n {\n \"CreateTime\": \"2024-08-06 11:29:15\",\n \"Details\": [\n {\n \"FailReason\": \"\",\n \"JobId\": 39994,\n \"Progress\": \"9%\",\n \"Step\": \"Start\"\n },\n {\n \"FailReason\": \"\",\n \"JobId\": 39994,\n \"Progress\": \"45%\",\n \"Step\": \"Write capacity-scheduler.xml\"\n },\n {\n \"FailReason\": \"\",\n \"JobId\": 39994,\n \"Progress\": \"63%\",\n \"Step\": \"Restart resource manager\"\n },\n {\n \"FailReason\": \"\",\n \"JobId\": 39994,\n \"Progress\": \"100%\",\n \"Step\": \"End\"\n }\n ],\n \"EndTime\": \"2024-08-06 11:29:25\",\n \"OperatorName\": \"change capacity scheduler,disable label,refresh dynamic pools,restart resource manager\",\n \"SchedulerName\": \"Capacity Scheduler\",\n \"State\": 2\n }\n ],\n \"Total\": 3\n }\n}",
|
|
376
|
+
"title": "This API is used to view the yarn resource scheduling history."
|
|
377
|
+
}
|
|
378
|
+
],
|
|
115
379
|
"InquiryPriceCreateInstance": [
|
|
116
380
|
{
|
|
117
381
|
"document": " ",
|
|
@@ -123,17 +387,17 @@
|
|
|
123
387
|
"InquiryPriceRenewInstance": [
|
|
124
388
|
{
|
|
125
389
|
"document": "This example shows you how to query the renewal price.",
|
|
126
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstance\n<Common request parameters>\n\n
|
|
390
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstance\n<Common request parameters>\n\n{\n \"Placement\": {\n \"ProjectId\": \"0\",\n \"Zone\": \"ap-guangzhou-4\"\n },\n \"Currency\": \"CNY\",\n \"TimeSpan\": \"1\",\n \"PayMode\": \"1\",\n \"ResourceIds\": [\n \"emr-vm-jv1s4zas\"\n ],\n \"TimeUnit\": \"m\"\n}",
|
|
127
391
|
"output": "{\n \"Response\": {\n \"DiscountCost\": 596.54,\n \"OriginalCost\": 898.9,\n \"RequestId\": \"223c838e-ce27-4adf-9a41-89661fe7ad21\",\n \"TimeSpan\": 1,\n \"TimeUnit\": \"m\"\n }\n}",
|
|
128
392
|
"title": "Querying the Renewal Price"
|
|
129
393
|
}
|
|
130
394
|
],
|
|
131
395
|
"InquiryPriceScaleOutInstance": [
|
|
132
396
|
{
|
|
133
|
-
"document": "
|
|
134
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceScaleOutInstance\n<Common request parameters>\n\n{\n \"TimeSpan\": \"3600\",\n \"InstanceId\": \"emr-3ida6zmi\",\n \"CoreCount\": \"1\",\n \"ZoneId\": \"100003\",\n \"PayMode\": \"0\",\n \"Currency\": \"
|
|
135
|
-
"output": "{\n \"Response\": {\n \"DiscountCost\": \"
|
|
136
|
-
"title": "
|
|
397
|
+
"document": "This example shows you how to perform a scale-out inquiry.",
|
|
398
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceScaleOutInstance\n<Common request parameters>\n\n{\n \"TimeSpan\": \"3600\",\n \"InstanceId\": \"emr-3ida6zmi\",\n \"CoreCount\": \"1\",\n \"ZoneId\": \"100003\",\n \"PayMode\": \"0\",\n \"Currency\": \"CNY\",\n \"TaskCount\": \"0\",\n \"TimeUnit\": \"s\",\n \"RouterCount\": \"0\"\n}",
|
|
399
|
+
"output": "{\n \"Response\": {\n \"DiscountCost\": \"0.65\",\n \"MultipleEmrPrice\": [\n {\n \"DiscountCost\": \"0.65\",\n \"OriginalCost\": \"1.21\",\n \"PriceSpec\": {\n \"Cpu\": 4,\n \"DiskCnt\": 0,\n \"DiskNum\": 0,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_HSSD\",\n \"InstanceType\": \"S6.LARGE8\",\n \"LocalDiskNum\": 0,\n \"MemSize\": 8192,\n \"MultiDisks\": [],\n \"RootSize\": 70,\n \"Spec\": \"CVM.S6\",\n \"StorageType\": 6,\n \"Tags\": null\n },\n \"SupportSpotPaid\": true,\n \"Unit\": \"s\"\n }\n ],\n \"OriginalCost\": \"1.21\",\n \"PriceSpec\": {\n \"Cpu\": 4,\n \"DiskCnt\": 0,\n \"DiskNum\": 0,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_HSSD\",\n \"InstanceType\": \"S6.LARGE8\",\n \"LocalDiskNum\": 0,\n \"MemSize\": 8192,\n \"MultiDisks\": [],\n \"RootSize\": 70,\n \"Spec\": \"CVM.S6\",\n \"StorageType\": 6,\n \"Tags\": null\n },\n \"RequestId\": \"e0acae32-c70d-4d32-80bd-b2e528a33026\",\n \"Unit\": \"s\"\n }\n}",
|
|
400
|
+
"title": "Performing a Scale-Out Inquiry"
|
|
137
401
|
}
|
|
138
402
|
],
|
|
139
403
|
"InquiryPriceUpdateInstance": [
|
|
@@ -144,34 +408,82 @@
|
|
|
144
408
|
"title": "Querying the price of a new configuration"
|
|
145
409
|
}
|
|
146
410
|
],
|
|
411
|
+
"ModifyAutoRenewFlag": [
|
|
412
|
+
{
|
|
413
|
+
"document": " ",
|
|
414
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoRenewFlag\n<Common request parameters>\n\n\n\n{\n \"InstanceId\": \"emr-xxxxx\",\n \"ResourceIds\": [\n \"emr-vm-xxxx1\",\n \"emr-vm-xxxx2\",\n \"emr-vm-xxxx3\"\n ],\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\"\n}",
|
|
415
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4d701c1e-8507-47e1-8c69-a8f06a236f24\"\n }\n}",
|
|
416
|
+
"title": "Enabling or Disabling Automatic Renewal"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"ModifyAutoScaleStrategy": [
|
|
420
|
+
{
|
|
421
|
+
"document": "This example shows you how to modify a scaling rule.",
|
|
422
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoScaleStrategy\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StrategyType\": 0,\n \"LoadAutoScaleStrategies\": [\n {\n \"CalmDownTime\": 60,\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 16\n }\n ],\n \"LoadMetrics\": \"AvailableVCores#root.default\",\n \"MetricId\": 1,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 3,\n \"ProcessMethod\": 3,\n \"ScaleAction\": 2,\n \"ScaleNum\": 2,\n \"Soft\": \"yarn\",\n \"StrategyId\": 1521,\n \"StrategyName\": \"Load-based Scale-In\",\n \"StrategyStatus\": 3\n }\n ],\n \"TimeAutoScaleStrategies\": [\n {\n \"CompensateFlag\": 1,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-2.8.5\\\":-1,\\\"YARN-2.8.5\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"IntervalTime\": 0,\n \"MaxUse\": 8,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 2,\n \"RepeatStrategy\": {\n \"Expire\": \"2025-11-05 23:59:59\",\n \"NotRepeat\": {\n \"ExecuteAt\": \"2024-11-06 09:10:00\"\n },\n \"RepeatType\": \"NONE\"\n },\n \"RetryValidTime\": 60,\n \"ScaleAction\": 1,\n \"ScaleNum\": 6,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyId\": 1783,\n \"StrategyName\": \"Test Quasi-Realtime Task Scale-Out\",\n \"StrategyStatus\": 3,\n \"Tags\": [\n {\n \"TagKey\": \"group\",\n \"TagValue\": \"data\"\n }\n ],\n \"TerminatePolicy\": \"TIMING\"\n }\n ]\n}",
|
|
423
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8833a2df-1487-4f78-89b6-eff26058a240\"\n }\n}",
|
|
424
|
+
"title": "Modifying a Scaling Rule"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"ModifyGlobalConfig": [
|
|
428
|
+
{
|
|
429
|
+
"document": "",
|
|
430
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGlobalConfig\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-123\",\n \"Items\": [\n {\n \"Key\": \"enableResourceSchedule\",\n \"Value\": \"true\"\n }\n ]\n}",
|
|
431
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"514a7860-f50f-49ec-92eb-6d4558ec45c3\"\n }\n}",
|
|
432
|
+
"title": "Modifying Global Configuration of YARN Resource Scheduling"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"ModifyInspectionSettings": [
|
|
436
|
+
{
|
|
437
|
+
"document": "",
|
|
438
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInspectionSettings\n\n{\n \"StartTime\": 1741795200,\n \"EndTime\": 1741837980,\n \"InstanceId\": \"emr-mwyixwxp\",\n \"Type\": \"RealTime\",\n \"Settings\": [\n {\n \"Name\": \"CPU Utilization Exceeding the Threshold Consecutively\",\n \"Group\": \"Node\",\n \"TaskType\": \"CpuUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"CPU IOwait Mean Exceeding the Threshold\",\n \"Group\": \"Node\",\n \"TaskType\": \"CpuIOWaitAvgMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"60\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"CPU Utilization Exceeding the Threshold Continuously\",\n \"Group\": \"Node\",\n \"TaskType\": \"MemoryFreeException\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"System Process Quantity Exceeding the Threshold Continuously\",\n \"Group\": \"Node\",\n \"TaskType\": \"ProcessCntMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"10000\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Metadatabase Exception\",\n \"Group\": \"Node\",\n \"TaskType\": \"MetaDBPingFail\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HDFS Storage Space Utilization Exceeding the Threshold Continuously\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HDFSCapacityUsedRateMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"NameNode Primary/Secondary Switch Occurs\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HDFSNameNodeSwitch\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"NameNode Full GC Occurs\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"NameNodeFullGC\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"NameNode JVM Memory Utilization Exceeding the Threshold Continuously\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"NameNodeJvmMemoryUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"ResourceManager Primary/Secondary Switch\",\n \"Group\": \"YARN\",\n \"TaskType\": \"YarnRMSwitch\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"ResourceManager Full GC Occurs\",\n \"Group\": \"YARN\",\n \"TaskType\": \"YarnRmFullGCMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"ResourceManager JVM Memory Utilization Exceeding the Threshold Continuously\",\n \"Group\": \"YARN\",\n \"TaskType\": \"YarnRmJvmMemoryUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"RM JVM Memory Utilization\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"RIT Cluster Region Quantity Exceeding the Threshold Continuously\",\n \"Group\": \"HBASE\",\n \"TaskType\": \"HbaseRitRegionNumMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Rit Region Quantity\",\n \"Value\": \"1\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"60\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HMaster JVM Memory Utilization Exceeding the Threshold Continuously\",\n \"Group\": \"HBASE\",\n \"TaskType\": \"HbaseHmJvmMemoryUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"HMaster JVM Memory Utilization\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HiveServer2 Full GC Occurs\",\n \"Group\": \"HIVE\",\n \"TaskType\": \"HiveServer2FullGC\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HiveServer2 JVM Memory Utilization Exceeding the Threshold Continuously\",\n \"Group\": \"HIVE\",\n \"TaskType\": \"HiveServer2JvmMemoryUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"HiveServer2 JVM Memory Utilization\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Impala Beeswax API Client Connection Quantity Utilization Exceeding the Threshold\",\n \"Group\": \"IMPALA\",\n \"TaskType\": \"ImpalaThriftServerBeeswaxFrontendConnMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Impala Beeswax API Client Connection Quantity\",\n \"Value\": \"64\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \" Impala HS2 Client Connection Quantity Utilization Exceeding the Threshold\",\n \"Group\": \"IMPALA\",\n \"TaskType\": \"ImpalaThriftServerHS2ConnMoreThanThrshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Impala HS2 Client Connection Quantity\",\n \"Value\": \"64\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"JVM OLD Region Exception\",\n \"Group\": \"Cluster\",\n \"TaskType\": \"JVMOldException\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Single-Disk INODES Utilization Exceeding the Threshold Continuously\",\n \"Group\": \"Node\",\n \"TaskType\": \"SingleDiskInMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Single-Disk I/O Device Utilization Exceeding the Threshold Continuously\",\n \"Group\": \"Node\",\n \"TaskType\": \"SingleDiskUtilMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Single-Disk Space Utilization Exceeding the Threshold Continuously\",\n \"Group\": \"Node\",\n \"TaskType\": \"SingleDiskSpaceMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HBase: Both HMaster Services in Standby Status\",\n \"Group\": \"HBASE\",\n \"TaskType\": \"HmStandbyStatusMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Both HMaster Nodes in Standby Status Simultaneously for Over 90 Seconds, Exceeding the Metric Value Range (second)\",\n \"Value\": \"300\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HDFS: Both NameNode Services in Standby Status\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"NNStandbyStatusMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Both NameNode Nodes in Standby Status Simultaneously for Over 90 seconds, Exceeding the Metric Value Range (seconds).\",\n \"Value\": \"300\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"UTC-to-NTP Time Offset of the Sub-machine Exceeding the Threshold\",\n \"Group\": \"Node\",\n \"TaskType\": \"NodeUTCNTPTimeOffsetMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"30000\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HDFS: NameNode Entering the Security Mode\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HDFSNameNodeEnterSafeMode\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HDFS: MissingBlocks Quantity Exceeds the Threshold Continuously\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HDFSMissingBlocksNumMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Threshold\",\n \"Value\": \"1\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Node Fault\",\n \"Group\": \"Node\",\n \"TaskType\": \"NodeFailure\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Node Disk I/O Exception\",\n \"Group\": \"Node\",\n \"TaskType\": \"DiskIOError\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Service Role Health Status Exception\",\n \"Group\": \"Cluster\",\n \"TaskType\": \"ProcessDetectionAbnormal\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Duration (seconds)\",\n \"Value\": \"300\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Execution Failure of Auto-Scaling Policy\",\n \"Group\": \"Cluster\",\n \"TaskType\": \"AutoScaleStrategyFailure\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Execution Timeout of Auto-Scaling Policy\",\n \"Group\": \"Cluster\",\n \"TaskType\": \"AutoScaleStrategyTimeOut\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HMaster Primary/Secondary Switch Occurs\",\n \"Group\": \"HBASE\",\n \"TaskType\": \"HMasterSwitch\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"ZooKeeper Leader Switch Occurs\",\n \"Group\": \"ZOOKEEPER\",\n \"TaskType\": \"ZKLeaderSwitch\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"YARN ResourceManager Not Active\",\n \"Group\": \"YARN\",\n \"TaskType\": \"YarnRmNoActiveStatusMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Yarn ResourceManager Service Not Active, Duration (seconds)\",\n \"Value\": \"90\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Process Killed by OOM Killer\",\n \"Group\": \"Cluster\",\n \"TaskType\": \"ProcessOutOfMemory\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Instance Hard Disk Exception, Pending Authorization\",\n \"Group\": \"Node\",\n \"TaskType\": \"InstanceDiskErrorInquiring\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Instance Running Exception, Pending Authorization\",\n \"Group\": \"Node\",\n \"TaskType\": \"InstanceRunningAbnormallyInquiring\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Sub-machine NVMe Device Error\",\n \"Group\": \"Node\",\n \"TaskType\": \"NvmeError\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Machine Restart\",\n \"Group\": \"Node\",\n \"TaskType\": \"GuestReboot\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"OOM\",\n \"Group\": \"Node\",\n \"TaskType\": \"GuestOom\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Kernel Fault\",\n \"Group\": \"Node\",\n \"TaskType\": \"GuestCoreError\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Read-Only Disk\",\n \"Group\": \"Node\",\n \"TaskType\": \"CvmDiskReadonly\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Unreachable by Ping\",\n \"Group\": \"Node\",\n \"TaskType\": \"PingUnreachable\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Enabled Public Network Access Exposing Security Group Ports to Risks\",\n \"Group\": \"Cluster\",\n \"TaskType\": \"NetworkSecurityHighRiskPortDetection\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HDFS Directory Getting Full\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HdfsDirFull\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Percentage Threshold\",\n \"Value\": \"95\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Trino Full-Table Scan Partition Table\",\n \"Group\": \"TRINO\",\n \"TaskType\": \"TrinoFullScanPartTable\",\n \"Selected\": \"false\",\n \"TaskSettings\": []\n }\n ]\n}",
|
|
439
|
+
"output": "{\n \"Response\": {\n \"Info\": \"OK\",\n \"JobId\": \"499\",\n \"RequestId\": \"c1ff0d96-48a7-47ef-bdde-ab6bf1fc5f15\"\n }\n}",
|
|
440
|
+
"title": "Inspection Task Configuration Setting"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"ModifyInstanceBasic": [
|
|
444
|
+
{
|
|
445
|
+
"document": " ",
|
|
446
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceBasic\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-sfaddfda\",\n \"ClusterName\": \"emr-test\",\n \"ResourceBaseType\": \"EMR\"\n}",
|
|
447
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b8d3e1eb-5730-4f6b-8d4d-bb4aabf99069 \"\n }\n}",
|
|
448
|
+
"title": "ModifyInstanceBasic"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"ModifyResource": [
|
|
452
|
+
{
|
|
453
|
+
"document": " ",
|
|
454
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResource\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-3ap64zl6\",\n \"PayMode\": \"0\",\n \"NewCpu\": \"8\",\n \"NewMem\": \"32\"\n}",
|
|
455
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ef0a7e45-2f47-4379-bbc8-9594f51cb95f\"\n }\n}",
|
|
456
|
+
"title": "Resizing an Instance"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
147
459
|
"ModifyResourceScheduleConfig": [
|
|
148
460
|
{
|
|
149
461
|
"document": " ",
|
|
150
462
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourceScheduleConfig\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-buy439fq\",\n \"Key\": \"capacity\",\n \"Value\": \"{\\\"queueMappings\\\":[{\\\"mapping-type\\\":\\\"u\\\",\\\"name\\\":\\\"1331\\\",\\\"full-queue-name\\\":\\\"132\\\",\\\"special-name\\\":true,\\\"special-queue\\\":true}],\\\"queue\\\":{\\\"name\\\":\\\"root\\\",\\\"capacity\\\":100,\\\"maximum-capacity\\\":100,\\\"minimum-user-limit-percent\\\":0,\\\"user-limit-factor\\\":0,\\\"maximum-allocation-mb\\\":0,\\\"maximum-allocation-vcores\\\":0,\\\"state\\\":null,\\\"maximum-applications\\\":0,\\\"maximum-am-resource-percent\\\":0,\\\"acl_submit_applications\\\":null,\\\"acl_administer_queue\\\":null,\\\"queues\\\":[{\\\"name\\\":\\\"121\\\",\\\"capacity\\\":12,\\\"maximum-capacity\\\":12,\\\"minimum-user-limit-percent\\\":12,\\\"user-limit-factor\\\":12,\\\"maximum-allocation-mb\\\":12,\\\"maximum-allocation-vcores\\\":12,\\\"state\\\":\\\"RUNNING\\\",\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":25,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"queues\\\":null},{\\\"name\\\":\\\"12\\\",\\\"capacity\\\":12,\\\"maximum-capacity\\\":12,\\\"minimum-user-limit-percent\\\":12,\\\"user-limit-factor\\\":12,\\\"maximum-allocation-mb\\\":12,\\\"maximum-allocation-vcores\\\":12,\\\"state\\\":\\\"RUNNING\\\",\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":25,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"queues\\\":null},{\\\"name\\\":\\\"default\\\",\\\"capacity\\\":76,\\\"maximum-capacity\\\":100,\\\"minimum-user-limit-percent\\\":12,\\\"user-limit-factor\\\":1,\\\"maximum-allocation-mb\\\":12,\\\"maximum-allocation-vcores\\\":12,\\\"state\\\":\\\"RUNNING\\\",\\\"maximum-applications\\\":12,\\\"maximum-am-resource-percent\\\":12,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"queues\\\":[{\\\"name\\\":\\\"d1\\\",\\\"capacity\\\":100,\\\"maximum-capacity\\\":100,\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"state\\\":\\\"RUNNING\\\",\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":25,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"queues\\\":null}]}]},\\\"queueMappingsOverride\\\":true}\"\n}",
|
|
151
|
-
"output": "{\n \"Response\": {\n \"
|
|
152
|
-
"title": "Modifying the
|
|
463
|
+
"output": "{\n \"Response\": {\n \"IsDraft\": true,\n \"ErrorMsg\": \"ErrorMsg_test\",\n \"Data\": \"json\",\n \"RequestId\": \"61fb757e-5a86-41ab-8421-b3abc7aff683\"\n }\n}",
|
|
464
|
+
"title": "Modifying the Resource Configuration of Yarn Resource Scheduling"
|
|
153
465
|
}
|
|
154
466
|
],
|
|
155
467
|
"ModifyResourceScheduler": [
|
|
156
468
|
{
|
|
157
469
|
"document": " ",
|
|
158
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourceScheduler\n<Common request parameters>\n\n{\n \"InstanceId\": \"
|
|
159
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
470
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourceScheduler\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-2xef56\",\n \"OldValue\": \"fair\",\n \"NewValue\": \"capacity\"\n}",
|
|
471
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"61fb757e-5a86-41ab-8421-b3abc7aff683\"\n }\n}",
|
|
160
472
|
"title": "test"
|
|
161
473
|
}
|
|
162
474
|
],
|
|
163
475
|
"ModifyResourcesTags": [
|
|
164
476
|
{
|
|
165
477
|
"document": " ",
|
|
166
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourcesTags\n<Common request parameters>\n\n{\n \"
|
|
167
|
-
"output": "{\n \"Response\": {\n \"ClusterToFlowIdList\": [\n {\n \"ClusterId\": \"emr-
|
|
478
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourcesTags\n<Common request parameters>\n\n{\n \"ModifyResourceTagsInfoList\": [\n {\n \"ModifyTags\": [\n {\n \"TagKey\": \"tke-zzy\",\n \"TagValue\": \"master\"\n }\n ],\n \"Resource\": \"qcs::emr:ap-guangzhou:uin/51000000:emr-vm/emr-vm-bnm\",\n \"ResourceId\": \"emr-vm-bnm\",\n \"ResourcePrefix\": \"emr-vm\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ServiceType\": \"emr\"\n }\n ],\n \"ModifyType\": \"Node\"\n}",
|
|
479
|
+
"output": "{\n \"Response\": {\n \"ClusterToFlowIdList\": [\n {\n \"ClusterId\": \"emr-mir\",\n \"FlowId\": 1834233\n }\n ],\n \"FailList\": null,\n \"PartSuccessList\": null,\n \"RequestId\": \"eee79a8e-0714-4406-9973-bf4084899a87\",\n \"SuccessList\": null\n }\n}",
|
|
168
480
|
"title": "test"
|
|
169
481
|
}
|
|
170
482
|
],
|
|
171
483
|
"ModifySLInstance": [
|
|
172
484
|
{
|
|
173
485
|
"document": "This example shows you how to resize a Serverless HBase instance.",
|
|
174
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySLInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-3o9tms4i\",\n \"Zone\": \"ap-guangzhou-
|
|
486
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySLInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-3o9tms4i\",\n \"Zone\": \"ap-guangzhou-6\",\n \"NodeNum\": 2\n}",
|
|
175
487
|
"output": "{\n \"Response\": {\n \"RequestId\": \"7837b979-fcc2-4bfb-b81b-88a532345b82\"\n }\n}",
|
|
176
488
|
"title": "Resizing a Serverless HBase Instance"
|
|
177
489
|
}
|
|
@@ -184,6 +496,14 @@
|
|
|
184
496
|
"title": "Modifying the Serverless HBase Instance Name"
|
|
185
497
|
}
|
|
186
498
|
],
|
|
499
|
+
"ModifyUserGroup": [
|
|
500
|
+
{
|
|
501
|
+
"document": "",
|
|
502
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserGroup\n<Common request parameters>\n\n{\n \"Users\": [\n \"user1\"\n ],\n \"UserGroup\": \"group4\",\n \"Groups\": [\n \"group4\"\n ],\n \"Remark\": \"modify\"\n}",
|
|
503
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"43d2a958-6cdf-422b-903e-0bbf2aaa2619\"\n }\n}",
|
|
504
|
+
"title": "Editing User Groups of a User"
|
|
505
|
+
}
|
|
506
|
+
],
|
|
187
507
|
"ModifyUserManagerPwd": [
|
|
188
508
|
{
|
|
189
509
|
"document": " ",
|
|
@@ -192,12 +512,52 @@
|
|
|
192
512
|
"title": "test"
|
|
193
513
|
}
|
|
194
514
|
],
|
|
515
|
+
"ModifyUsersOfGroupSTD": [
|
|
516
|
+
{
|
|
517
|
+
"document": "",
|
|
518
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUsersOfGroupSTD\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-o88f3whr\",\n \"Group\": \"group3\",\n \"Users\": [\n \"user1\"\n ],\n \"Description\": \"modify\"\n}",
|
|
519
|
+
"output": "{\n \"Response\": {\n \"Data\": true,\n \"RequestId\": \"554a474b-c1dd-4627-9b80-42b4b9e95add\"\n }\n}",
|
|
520
|
+
"title": "Editing Users in a User Group"
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"ModifyYarnDeploy": [
|
|
524
|
+
{
|
|
525
|
+
"document": " ",
|
|
526
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyYarnDeploy\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-a903oah8\",\n \"OldScheduler\": \"capacity\",\n \"NewScheduler\": \"fair\"\n}",
|
|
527
|
+
"output": "{\n \"Response\": {\n \"ErrorMsg\": \"ErrorMsg\",\n \"IsDraft\": false,\n \"RequestId\": \"d76bd103-947e-49f3-8485-e6aab28ecbbf\"\n }\n}",
|
|
528
|
+
"title": "Applying Configurations After Deployment"
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"ModifyYarnQueueV2": [
|
|
532
|
+
{
|
|
533
|
+
"document": "",
|
|
534
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyYarnQueueV2\n<Common request parameters>\n\n{\n \"ConfigModifyInfoList\": [\n {\n \"ConfigSetParams\": [\n {\n \"ConfigSet\": \"default\",\n \"LabelParams\": [\n {\n \"Items\": [\n {\n \"Key\": \"labelName\",\n \"Value\": \"<DEFAULT_PARTITION>\"\n },\n {\n \"Key\": \"capacity\",\n \"Value\": \"50.0\"\n }\n ]\n }\n ]\n }\n ],\n \"MyId\": \"root.QPlt\",\n \"OpType\": 6\n },\n {\n \"ConfigSetParams\": [\n {\n \"ConfigSet\": \"default\",\n \"LabelParams\": [\n {\n \"Items\": [\n {\n \"Key\": \"labelName\",\n \"Value\": \"<DEFAULT_PARTITION>\"\n },\n {\n \"Key\": \"capacity\",\n \"Value\": \"50.0\"\n }\n ]\n }\n ]\n }\n ],\n \"MyId\": \"root.default\",\n \"OpType\": 6\n }\n ],\n \"InstanceId\": \"emr-h81\",\n \"Scheduler\": \"capacity\"\n}",
|
|
535
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2330fead-9b98-4bbc-a777-c9523ffb8e76\"\n }\n}",
|
|
536
|
+
"title": "Modifying Queue Information on Resource Scheduling"
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"ResetYarnConfig": [
|
|
540
|
+
{
|
|
541
|
+
"document": "This example shows you how to cancel configuration modification.",
|
|
542
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetYarnConfig\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-1si\",\n \"Key\": \"fair\"\n}",
|
|
543
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"28026cdd-41a9-4433-a80d-673ec711bca8\"\n }\n}",
|
|
544
|
+
"title": "Performing Resetting Under Yarn Resource Scheduling"
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"ResizeDataDisks": [
|
|
548
|
+
{
|
|
549
|
+
"document": "",
|
|
550
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResizeDataDisks\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-xxxx\",\n \"CvmInstanceIds\": [\n \"ins-xx\"\n ],\n \"DiskIds\": [\n \"disk-xxx1\",\n \"disk-xxx2\"\n ],\n \"DiskSize\": 500\n}",
|
|
551
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"95eb9120-0883-407c-aa5a-43b4e2c250d1\"\n }\n}",
|
|
552
|
+
"title": "Scaling Out a Cloud Data Disk"
|
|
553
|
+
}
|
|
554
|
+
],
|
|
195
555
|
"ScaleOutCluster": [
|
|
196
556
|
{
|
|
197
557
|
"document": " ",
|
|
198
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleOutCluster\n<Common request parameters>\n\n{\n \"
|
|
199
|
-
"output": "{\n \"Response\": {\n \"
|
|
200
|
-
"title": "Scaling Out
|
|
558
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleOutCluster\n<Common request parameters>\n\n{\n \"InstanceChargeType\": \"PREPAID\",\n \"InstanceId\": \"emr-m620\",\n \"ScaleOutNodeConfig\": {\n \"NodeFlag\": \"TASK\",\n \"NodeCount\": 2\n },\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"ServiceNodeInfo\": [\n 7\n ],\n \"YarnNodeLabel\": \"CLOUD\",\n \"EnableStartServiceFlag\": true,\n \"ResourceSpec\": {\n \"SystemDisk\": [\n {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 200,\n \"Count\": 1,\n \"ExtraPerformance\": 0\n }\n ],\n \"DataDisk\": [\n {\n \"DiskType\": \"CLOUD_HIGHIO\",\n \"DiskSize\": 4000,\n \"Count\": 4,\n \"ExtraPerformance\": 0\n }\n ],\n \"LocalDataDisk\": [],\n \"InstanceType\": \"MA5.8XLARGE256\",\n \"Tags\": []\n }\n}",
|
|
559
|
+
"output": "{\n \"Response\": {\n \"ClientToken\": \"\",\n \"FlowId\": 19239,\n \"InstanceId\": \"emr-m620\",\n \"RequestId\": \"11f53a6c-df44-4496-acac-d09b98ccd\",\n \"TraceId\": \"1731400002-73146-8002\"\n }\n}",
|
|
560
|
+
"title": "Scaling Out Clusters"
|
|
201
561
|
}
|
|
202
562
|
],
|
|
203
563
|
"ScaleOutInstance": [
|
|
@@ -208,11 +568,19 @@
|
|
|
208
568
|
"title": "Scaling out a cluster"
|
|
209
569
|
}
|
|
210
570
|
],
|
|
571
|
+
"SetNodeResourceConfigDefault": [
|
|
572
|
+
{
|
|
573
|
+
"document": " ",
|
|
574
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetNodeResourceConfigDefault\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-fdadad\",\n \"ResourceType\": \"CORE\",\n \"ResourceConfigId\": 1,\n \"ResourceBaseType\": \"EMR\"\n}",
|
|
575
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8c2ff02e-5f38-494a-8d2d-68a7dec6efcd\"\n }\n}",
|
|
576
|
+
"title": "Outputting and Inputting Parameters"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
211
579
|
"StartStopServiceOrMonitor": [
|
|
212
580
|
{
|
|
213
|
-
"document": "This example shows you how to start
|
|
214
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartStopServiceOrMonitor\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-
|
|
215
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
581
|
+
"document": "This example shows you how to start or stop a service API.",
|
|
582
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartStopServiceOrMonitor\n<Common request parameters>\n\n{\n \"InstanceId\": \"emr-mfk\",\n \"OpScope\": {\n \"ServiceInfoList\": [\n {\n \"ComponentInfoList\": [\n {\n \"ComponentName\": \"NameNode\",\n \"IpList\": [\n \"0.0.0.0\"\n ]\n },\n {\n \"ComponentName\": \"ZKFailoverController\",\n \"IpList\": [\n \"0.0.0.0\"\n ]\n }\n ],\n \"ServiceName\": \"HDFS\"\n }\n ]\n },\n \"OpType\": \"StartService\"\n}",
|
|
583
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"017c3a6d-382a-4cb2-bd7d-67072b86f027\"\n }\n}",
|
|
216
584
|
"title": "StartStopServiceOrMonitor"
|
|
217
585
|
}
|
|
218
586
|
],
|