DescribeCluster 查询集群详情
请求参数
返回参数
示例
请求示例
- https://emr.aliyuncs.com/?Action=DescribeCluster
- &Id=500003771
- &PageSize=50
- &PageNumber=1
- &RegionId=cn-hangzhou
- &公共请求参数
返回格式
JSON 格式
- {
- "ClusterInfo": {
- "SecurityGroupId": "sg-23k4ef52r",
- "ImageId": "m-23jgud468",
- "MasterNodeInService": 1,
- "LogEnable": true,
- "SoftwareInfo": {
- "Softwares": {
- "Software": [
- {
- "Name": "hive",
- "OnlyDisplay": false,
- "Version": "1.0.1",
- "DisplayName": "hive",
- "StartTpe": 0
- },
- {
- "Name": "ganglia",
- "OnlyDisplay": false,
- "Version": "3.7.2",
- "DisplayName": "ganglia",
- "StartTpe": 2
- },
- {
- "Name": "spark",
- "OnlyDisplay": false,
- "Version": "1.4.1",
- "DisplayName": "spark",
- "StartTpe": 0
- },
- {
- "Name": "yarn",
- "OnlyDisplay": false,
- "Version": "2.6.0",
- "DisplayName": "hadoop",
- "StartTpe": 1
- },
- {
- "Name": "pig",
- "OnlyDisplay": false,
- "Version": "0.14.0",
- "DisplayName": "pig",
- "StartTpe": 0
- }
- ]
- },
- "EmrVer": "EMR 1.0.0",
- "ClusterType": "HADOOP"
- },
- "CoreNodeInService": 2,
- "CreateType": "MANUAL",
- "TaskNodeTotal": 0,
- "Name": "ct-test",
- "TaskNodeInService": 0,
- "Status": "IDLE",
- "SecurityGroupName": "testnomalgroup",
- "CoreNodeTotal": 2,
- "LogPath": "oss://emr/chengtao",
- "RegionId": "cn-hangzhou",
- "EcsOrderInfoList": {
- "EcsOrderInfo": [
- {
- "BandWidth": "8M",
- "NodeType": "MASTER",
- "MemoryCapacity": 8,
- "Nodes": {
- "Node": [
- {
- "Status": "NORMAL",
- "InnerIp": "10.47.109.52",
- "InstanceId": "i-23k09bd1z",
- "PubIp": "120.27.154.42",
- "ZoneId": "cn-hangzhou-b",
- "DiskInfos": {
- "DiskInfo": [
- {
- "Device": "/dev/xvdb",
- "Type": "DATA",
- "DiskId": "d-23tf205ba",
- "Size": 80
- },
- {
- "Device": "/dev/xvda",
- "Type": "SYSTEM",
- "DiskId": "d-23nivb18v",
- "Size": 40
- }
- ]
- }
- }
- ]
- },
- "DiskCapacity": 80,
- "CpuCore": 4,
- "DiskType": "CLOUD_EFFICIENCY",
- "InstanceType": "ecs.n1.large"
- },
- {
- "NodeType": "CORE",
- "MemoryCapacity": 8,
- "Nodes": {
- "Node": [
- {
- "Status": "NORMAL",
- "InnerIp": "10.45.54.184",
- "InstanceId": "i-232an047i",
- "PubIp": "--",
- "ZoneId": "cn-hangzhou-b",
- "DiskInfos": {
- "DiskInfo": [
- {
- "Device": "/dev/xvde",
- "Type": "DATA",
- "DiskId": "d-23nblu83j",
- "Size": 20
- },
- {
- "Device": "/dev/xvdd",
- "Type": "DATA",
- "DiskId": "d-237fbizzt",
- "Size": 20
- },
- {
- "Device": "/dev/xvdc",
- "Type": "DATA",
- "DiskId": "d-237b485gr",
- "Size": 20
- },
- {
- "Device": "/dev/xvdb",
- "Type": "DATA",
- "DiskId": "d-236t8diwt",
- "Size": 20
- },
- {
- "Device": "/dev/xvda",
- "Type": "SYSTEM",
- "DiskId": "d-23uedind2",
- "Size": 40
- }
- ]
- }
- },
- {
- "Status": "NORMAL",
- "InnerIp": "10.24.34.249",
- "InstanceId": "i-23yb4in7f",
- "PubIp": "--",
- "ZoneId": "cn-hangzhou-b",
- "DiskInfos": {
- "DiskInfo": [
- {
- "Device": "/dev/xvde",
- "Type": "DATA",
- "DiskId": "d-23prb086b",
- "Size": 20
- },
- {
- "Device": "/dev/xvdd",
- "Type": "DATA",
- "DiskId": "d-23qnz0te9",
- "Size": 20
- },
- {
- "Device": "/dev/xvdc",
- "Type": "DATA",
- "DiskId": "d-23cqlftct",
- "Size": 20
- },
- {
- "Device": "/dev/xvdb",
- "Type": "DATA",
- "DiskId": "d-23u8crtmb",
- "Size": 20
- },
- {
- "Device": "/dev/xvda",
- "Type": "SYSTEM",
- "DiskId": "d-2316q3q3b",
- "Size": 40
- }
- ]
- }
- }
- ]
- },
- "DiskCapacity": 80,
- "CpuCore": 4,
- "DiskType": "CLOUD_EFFICIENCY",
- "InstanceType": "ecs.n1.large"
- }
- ]
- },
- "RunningTime": 263586,
- "Id": "16930",
- "StartTime": 1458889373000,
- "MasterNodeTotal": 1
- },
- "RequestId": "578AEF13-F07F-40D7-9EAB-B4AF2FD3F8B8"
- }