Databricks数据洞察 DescribeClusterV2

By | 2021年4月23日

调用 DescribeClusterV2接口,查询集群的基本信息,包括:付费、ECS机器概况和DDI服务列表等。


调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeClusterV2

系统规定参数。取值:DescribeClusterV2。

Id String C-E331B8AC12BF****

集群ID。

RegionId String cn-hangzhou

地域ID。

返回数据

名称 类型 示例值 描述
ClusterInfo Struct

集群详情。

AccessInfo Struct

集群连接信息。

ZKLinks Array of ZKLink

ZooKeeper连接信息。

ZKLink
Link String ddi-worker-1,ddi-header-2,ddi-header-1

ZooKeeper连接地址。

Port String 2181

ZooKeeper连接端口。

AutoScalingAllowed Boolean false

允许弹性扩容。

AutoScalingByLoadAllowed Boolean true

是否允许按负载伸缩。

AutoScalingEnable Boolean false

是否开启弹性扩容。

AutoScalingSpotWithLimitAllowed Boolean false

是否允许使用弹性伸缩竞价实例。

AutoScalingVersion String false

保留字段。

AutoScalingWithGraceAllowed Boolean false

保留字段。

BootstrapActionList Array of BootstrapAction

引导操作列表。

BootstrapAction
Arg String –a

引导操作的参数。

Name String action_name

引导操作的名字。

Path String oss://bucket/path

引导操作脚本路径。

BootstrapFailed Boolean false

引导操作执行结果。

ChargeType String PostPaid

付费方式。

Configurations String []

无需填写。

CoreNodeInService Integer 3

使用中的Core节点数。

CoreNodeTotal Integer 3

Core节点总数。

CreateResource String ECM_DDI

集群标记,无需关注。

CreateType String MANUAL

集群创建的方式。

DepositType String HALF_MANAGED

集群托管方式。

EasEnable Boolean true

是否高安全集群。

ExpiredTime Long 1544076205000

包年包月集群的过期时间。

ExtraInfo String -None-

Stack的附加信息。

FailReason Struct

集群创建失败的原因。

ErrorCode String InvalidImageId.NotFound

创建失败错误码。

ErrorMsg String The specified ImageId does not exist.

创建失败错误信息。

RequestId String B8DC3A91-3953-4444-92BB-DBC29C47EC1A

创建集群请求ID。

GatewayClusterIds String C-D7958B72E59B****

包含的Gateway集群ID。

GatewayClusterInfoList Array of GatewayClusterInfo

Gateway集群概况信息。

GatewayClusterInfo
ClusterId String C-D7958B72E59B****

Gateway集群ID。

ClusterName String gateway-name

Gateway集群名。

Status String IDLE

Gateway集群状态。

HighAvailabilityEnable Boolean true

是否高可用集群。

HostGroupList Array of HostGroup

集群机器组列表。

HostGroup
BandWidth String 10

带宽。

ChargeType String PostPaid

付费类型。

CpuCore Integer 16

CPU核心数。

DiskCapacity Integer 120

数据盘容量。

DiskCount Integer 4

数据盘数量。

DiskType String CLOUD_ESSD

数据盘磁盘类型。

HostGroupChangeStatus String IN_PROGRESS

保留字段。升配任务的执行状态,枚举值:IN_PROGRESS、COMPLETED和FAILED。

HostGroupChangeType String RESIZE_DISK

机器组当前的操作类型,枚举值:RESIZE_DISK、MODIFY_INSTANCE_TYPE和RESTART_HOST_GROUP。

HostGroupId String G-9D08642FB8CE****

机器组ID。

HostGroupName String 主实例组

机器组名称。

HostGroupSubType String 0

保留字段。

HostGroupType String CORE

机器组角色。

InstanceType String ecs.n4.2xlarge

机器组实例类型。

LockReason String 0

保留字段。

LockType String 0

保留字段。

MemoryCapacity Integer 16

内存大小。

NodeCount Integer 4

机器组节点数。

Nodes Array of Node

机器节点。

Node
CreateTime String 1543804242000

创建时间。

DaemonInfos Array of DaemonInfo

保留字段。

DaemonInfo
Name String 0

保留字段。

DiskInfos Array of DiskInfo

磁盘信息。

DiskInfo
Device String /dev/xvdb

磁盘名。

DiskId String d-bp15vg2nr3x2t0f37ko9

磁盘ID。

DiskName String disk1

磁盘名。

Size Integer 80

磁盘容量(G)。

Type String data

磁盘类型。

EmrExpiredTime String 2099-12-31T15:59Z

DDI超时时间。

ExpiredTime String 2099-12-31T15:59Z

超时时间。

InnerIp String 192.168.128.236

内网IP。

InstanceId String i-bp1ftve3lzvpm16hp7lo

ECS实例ID。

PubIp String 47.99.***.***

公网IP。

Status String NORMAL

状态。

SupportIpV6 Boolean false

是否支持IPV6。

ZoneId String cn-hangzhou-e

可用区。

Period String 30

包年包月时间(天)。

HostPoolInfo Struct

机器池信息。

HpBizId String id

机器池 ID。

HpName String name

机器池名称。

Id String C-E331B8AC12BF****

集群ID。

ImageId String m-bp118knl07yk88y8s6cj

创建集群使用的镜像ID。

InstanceGeneration String ecs-3

ECS分代。

IoOptimized Boolean true

是否I/O优化。

K8sClusterId String []

K8s集群ID

LocalMetaDb Boolean true

是否使用Hive本地元数据库。

LogEnable Boolean true

是否打开集群OSS日志。

LogPath String oss://bucketname/path

集群OSS日志路径。

MachineType String ECS

集群的主机类型,目前默认为ECS。

MasterNodeInService Integer 2

使用中的Master节点数。

MasterNodeTotal Integer 2

Master节点总数。

MetaStoreType String local

统一元数据类型。

Name String cluster_name

集群名。

NetType String vpc

集群网络类型。

Period Integer 36

机器组的包年包月时间(包月数有1、2、3、4、5、6、7、8、9、12、24、36)。

RegionId String cn-hangzhou

地域ID。

RelateClusterId String C-D7958B72E59****

针对Gateway, 关联的主集群ID。

RelateClusterInfo Struct

针对Gateway, 关联的主集群信息。

ClusterId String C-D7958B72E59B****

关联集群ID。

ClusterName String main

关联集群名称。

Status String SUCCESS

状态。

ResizeDiskEnable Boolean true

是否允许扩容磁盘。

RunningTime Integer 1102

已经运行的时间(秒数)。

SecurityGroupId String sg-bp1bvompzxgx7q0****

安全组ID。

SecurityGroupName String ddi-default-securitygroup

安全组名。

ShowSoftwareInterface Boolean true

是否展示快捷链接页面。

SoftwareInfo Struct

服务列表。

ClusterType String 标准型

集群类型。

EmrVer String DDI-V1.0

DDI版本号。

Softwares Array of Software

服务列表。

Software
DisplayName String SPARK

服务名称。

Name String HIVE

服务内部名称。

OnlyDisplay Boolean false

是否展现。

StartTpe Integer 1

启动类型。

Version String 2.3.3

服务版本。

StartTime Long 1543804234000

集群启动时间(时间戳)

Status String IDLE

集群状态。

StopTime Long 1543804234000

集群停止时间。

TaskNodeInService Integer 2

使用中的Task节点数。

TaskNodeTotal Integer 2

Task节点总数。

UserDefinedEmrEcsRole String AliyunDDIAccessingOSSRole

使用的DDI权限名。

UserId String 125046002175****

用户ID。

VSwitchId String vsw-bp11qjbyggil4pow0****

虚拟交换机ID。

VpcId String vpc-bp1l4urd87xlh7i4****

VPC ID。

ZoneId String cn-hangzhou-b

可用区ID。

RequestId String 14E9C045-9B8D-4D1E-8D23-FC0027B6D947

请求ID。

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeClusterV2
&Id=C-E331B8AC12BF****
&RegionId=cn-hangzhou
&<公共请求参数>

正常返回示例

XML 格式

<ClusterInfo>
    <TaskNodeInService>2</TaskNodeInService>
    <ShowSoftwareInterface>true</ShowSoftwareInterface>
    <CoreNodeInService>3</CoreNodeInService>
    <HostPoolInfo>
        <Status>SUCCESS</Status>
        <RequestId>B8DC3A91-3953-4444-92BB-DBC29C47EC1A</RequestId>
        <ZKLinks>
            <ZKLink>
                <Port>2181</Port>
                <Link>ddi-worker-1,ddi-header-2,ddi-header-1</Link>
            </ZKLink>
        </ZKLinks>
        <ClusterId>C-D7958B72E59B****</ClusterId>
        <HpBizId>id</HpBizId>
        <Softwares>
            <Software>
                <StartTpe>1</StartTpe>
                <Version>2.3.3</Version>
                <DisplayName>SPARK</DisplayName>
                <OnlyDisplay>false</OnlyDisplay>
                <Name>HIVE</Name>
            </Software>
        </Softwares>
        <ErrorMsg>The specified ImageId does not exist.</ErrorMsg>
        <ClusterName>main</ClusterName>
        <EmrVer>DDI-V1.0</EmrVer>
        <ErrorCode>InvalidImageId.NotFound</ErrorCode>
        <ClusterType>标准型</ClusterType>
        <HpName>name</HpName>
    </HostPoolInfo>
    <BootstrapActionList>
        <BootstrapAction>
            <Status>IDLE</Status>
            <ClusterId>C-D7958B72E59B****</ClusterId>
            <ClusterName>gateway-name</ClusterName>
        </BootstrapAction>
        <BootstrapAction>
            <HostGroupType>CORE</HostGroupType>
            <HostGroupSubType>0</HostGroupSubType>
            <HostGroupChangeType>RESIZE_DISK</HostGroupChangeType>
            <DiskCount>4</DiskCount>
            <HostGroupChangeStatus>IN_PROGRESS</HostGroupChangeStatus>
            <NodeCount>4</NodeCount>
            <Period>30</Period>
            <MemoryCapacity>16</MemoryCapacity>
            <HostGroupName>主实例组</HostGroupName>
            <LockType>0</LockType>
            <DiskType>CLOUD_ESSD</DiskType>
            <BandWidth>10</BandWidth>
            <DiskCapacity>120</DiskCapacity>
            <HostGroupId>G-9D08642FB8CE****</HostGroupId>
            <ChargeType>PostPaid</ChargeType>
            <CpuCore>16</CpuCore>
            <InstanceType>ecs.n4.2xlarge</InstanceType>
            <LockReason>0</LockReason>
        </BootstrapAction>
        <BootstrapAction>
            <Nodes>
                <Node>
                    <Status>NORMAL</Status>
                    <ZoneId>cn-hangzhou-e</ZoneId>
                    <InnerIp>192.168.128.236</InnerIp>
                    <InstanceId>i-bp1ftve3lzvpm16hp7lo</InstanceId>
                    <ExpiredTime>2099-12-31T15:59Z</ExpiredTime>
                    <CreateTime>1543804242000</CreateTime>
                    <PubIp>47.99.***.***</PubIp>
                    <EmrExpiredTime>2099-12-31T15:59Z</EmrExpiredTime>
                    <SupportIpV6>false</SupportIpV6>
                </Node>
                <Node>
                    <DaemonInfos>
                        <DaemonInfo>
                            <Name>0</Name>
                        </DaemonInfo>
                        <DaemonInfo>
                            <Type>data</Type>
                            <Device>/dev/xvdb</Device>
                            <Size>80</Size>
                            <DiskName>disk1</DiskName>
                            <DiskId>d-bp15vg2nr3x2t0f37ko9</DiskId>
                        </DaemonInfo>
                    </DaemonInfos>
                    <DiskInfos>
                        <DiskInfo>
                            <Name>0</Name>
                        </DiskInfo>
                        <DiskInfo>
                            <Type>data</Type>
                            <Device>/dev/xvdb</Device>
                            <Size>80</Size>
                            <DiskName>disk1</DiskName>
                            <DiskId>d-bp15vg2nr3x2t0f37ko9</DiskId>
                        </DiskInfo>
                    </DiskInfos>
                </Node>
            </Nodes>
        </BootstrapAction>
        <BootstrapAction>
            <Path>oss://bucket/path</Path>
            <Arg>--a</Arg>
            <Name>action_name</Name>
        </BootstrapAction>
    </BootstrapActionList>
    <ResizeDiskEnable>true</ResizeDiskEnable>
    <FailReason>
        <Status>SUCCESS</Status>
        <RequestId>B8DC3A91-3953-4444-92BB-DBC29C47EC1A</RequestId>
        <ZKLinks>
            <ZKLink>
                <Port>2181</Port>
                <Link>ddi-worker-1,ddi-header-2,ddi-header-1</Link>
            </ZKLink>
        </ZKLinks>
        <ClusterId>C-D7958B72E59B****</ClusterId>
        <HpBizId>id</HpBizId>
        <Softwares>
            <Software>
                <StartTpe>1</StartTpe>
                <Version>2.3.3</Version>
                <DisplayName>SPARK</DisplayName>
                <OnlyDisplay>false</OnlyDisplay>
                <Name>HIVE</Name>
            </Software>
        </Softwares>
        <ErrorMsg>The specified ImageId does not exist.</ErrorMsg>
        <ClusterName>main</ClusterName>
        <EmrVer>DDI-V1.0</EmrVer>
        <ErrorCode>InvalidImageId.NotFound</ErrorCode>
        <ClusterType>标准型</ClusterType>
        <HpName>name</HpName>
    </FailReason>
    <K8sClusterId>[]</K8sClusterId>
    <Name>cluster_name</Name>
    <HighAvailabilityEnable>true</HighAvailabilityEnable>
    <AutoScalingVersion>false</AutoScalingVersion>
    <ExpiredTime>1544076205000</ExpiredTime>
    <CreateType>MANUAL</CreateType>
    <ImageId>m-bp118knl07yk88y8s6cj</ImageId>
    <AutoScalingSpotWithLimitAllowed>false</AutoScalingSpotWithLimitAllowed>
    <UserDefinedEmrEcsRole>AliyunDDIAccessingOSSRole</UserDefinedEmrEcsRole>
    <AutoScalingAllowed>false</AutoScalingAllowed>
    <StopTime>1543804234000</StopTime>
    <Status>IDLE</Status>
    <CreateResource>ECM_DDI</CreateResource>
    <BootstrapFailed>false</BootstrapFailed>
    <VSwitchId>vsw-bp11qjbyggil4pow0****</VSwitchId>
    <DepositType>HALF_MANAGED</DepositType>
    <StartTime>1543804234000</StartTime>
    <Period>36</Period>
    <MetaStoreType>local</MetaStoreType>
    <GatewayClusterInfoList>
        <GatewayClusterInfo>
            <Status>IDLE</Status>
            <ClusterId>C-D7958B72E59B****</ClusterId>
            <ClusterName>gateway-name</ClusterName>
        </GatewayClusterInfo>
        <GatewayClusterInfo>
            <HostGroupType>CORE</HostGroupType>
            <HostGroupSubType>0</HostGroupSubType>
            <HostGroupChangeType>RESIZE_DISK</HostGroupChangeType>
            <DiskCount>4</DiskCount>
            <HostGroupChangeStatus>IN_PROGRESS</HostGroupChangeStatus>
            <NodeCount>4</NodeCount>
            <Period>30</Period>
            <MemoryCapacity>16</MemoryCapacity>
            <HostGroupName>主实例组</HostGroupName>
            <LockType>0</LockType>
            <DiskType>CLOUD_ESSD</DiskType>
            <BandWidth>10</BandWidth>
            <DiskCapacity>120</DiskCapacity>
            <HostGroupId>G-9D08642FB8CE****</HostGroupId>
            <ChargeType>PostPaid</ChargeType>
            <CpuCore>16</CpuCore>
            <InstanceType>ecs.n4.2xlarge</InstanceType>
            <LockReason>0</LockReason>
        </GatewayClusterInfo>
        <GatewayClusterInfo>
            <Nodes>
                <Node>
                    <Status>NORMAL</Status>
                    <ZoneId>cn-hangzhou-e</ZoneId>
                    <InnerIp>192.168.128.236</InnerIp>
                    <InstanceId>i-bp1ftve3lzvpm16hp7lo</InstanceId>
                    <ExpiredTime>2099-12-31T15:59Z</ExpiredTime>
                    <CreateTime>1543804242000</CreateTime>
                    <PubIp>47.99.***.***</PubIp>
                    <EmrExpiredTime>2099-12-31T15:59Z</EmrExpiredTime>
                    <SupportIpV6>false</SupportIpV6>
                </Node>
                <Node>
                    <DaemonInfos>
                        <DaemonInfo>
                            <Name>0</Name>
                        </DaemonInfo>
                        <DaemonInfo>
                            <Type>data</Type>
                            <Device>/dev/xvdb</Device>
                            <Size>80</Size>
                            <DiskName>disk1</DiskName>
                            <DiskId>d-bp15vg2nr3x2t0f37ko9</DiskId>
                        </DaemonInfo>
                    </DaemonInfos>
                    <DiskInfos>
                        <DiskInfo>
                            <Name>0</Name>
                        </DiskInfo>
                        <DiskInfo>
                            <Type>data</Type>
                            <Device>/dev/xvdb</Device>
                            <Size>80</Size>
                            <DiskName>disk1</DiskName>
                            <DiskId>d-bp15vg2nr3x2t0f37ko9</DiskId>
                        </DiskInfo>
                    </DiskInfos>
                </Node>
            </Nodes>
        </GatewayClusterInfo>
        <GatewayClusterInfo>
            <Path>oss://bucket/path</Path>
            <Arg>--a</Arg>
            <Name>action_name</Name>
        </GatewayClusterInfo>
    </GatewayClusterInfoList>
    <EasEnable>true</EasEnable>
    <VpcId>vpc-bp1l4urd87xlh7i4****</VpcId>
    <HostGroupList>
        <HostGroup>
            <Status>IDLE</Status>
            <ClusterId>C-D7958B72E59B****</ClusterId>
            <ClusterName>gateway-name</ClusterName>
        </HostGroup>
        <HostGroup>
            <HostGroupType>CORE</HostGroupType>
            <HostGroupSubType>0</HostGroupSubType>
            <HostGroupChangeType>RESIZE_DISK</HostGroupChangeType>
            <DiskCount>4</DiskCount>
            <HostGroupChangeStatus>IN_PROGRESS</HostGroupChangeStatus>
            <NodeCount>4</NodeCount>
            <Period>30</Period>
            <MemoryCapacity>16</MemoryCapacity>
            <HostGroupName>主实例组</HostGroupName>
            <LockType>0</LockType>
            <DiskType>CLOUD_ESSD</DiskType>
            <BandWidth>10</BandWidth>
            <DiskCapacity>120</DiskCapacity>
            <HostGroupId>G-9D08642FB8CE****</HostGroupId>
            <ChargeType>PostPaid</ChargeType>
            <CpuCore>16</CpuCore>
            <InstanceType>ecs.n4.2xlarge</InstanceType>
            <LockReason>0</LockReason>
        </HostGroup>
        <HostGroup>
            <Nodes>
                <Node>
                    <Status>NORMAL</Status>
                    <ZoneId>cn-hangzhou-e</ZoneId>
                    <InnerIp>192.168.128.236</InnerIp>
                    <InstanceId>i-bp1ftve3lzvpm16hp7lo</InstanceId>
                    <ExpiredTime>2099-12-31T15:59Z</ExpiredTime>
                    <CreateTime>1543804242000</CreateTime>
                    <PubIp>47.99.***.***</PubIp>
                    <EmrExpiredTime>2099-12-31T15:59Z</EmrExpiredTime>
                    <SupportIpV6>false</SupportIpV6>
                </Node>
                <Node>
                    <DaemonInfos>
                        <DaemonInfo>
                            <Name>0</Name>
                        </DaemonInfo>
                        <DaemonInfo>
                            <Type>data</Type>
                            <Device>/dev/xvdb</Device>
                            <Size>80</Size>
                            <DiskName>disk1</DiskName>
                            <DiskId>d-bp15vg2nr3x2t0f37ko9</DiskId>
                        </DaemonInfo>
                    </DaemonInfos>
                    <DiskInfos>
                        <DiskInfo>
                            <Name>0</Name>
                        </DiskInfo>
                        <DiskInfo>
                            <Type>data</Type>
                            <Device>/dev/xvdb</Device>
                            <Size>80</Size>
                            <DiskName>disk1</DiskName>
                            <DiskId>d-bp15vg2nr3x2t0f37ko9</DiskId>
                        </DiskInfo>
                    </DiskInfos>
                </Node>
            </Nodes>
        </HostGroup>
        <HostGroup>
            <Path>oss://bucket/path</Path>
            <Arg>--a</Arg>
            <Name>action_name</Name>
        </HostGroup>
    </HostGroupList>
    <Id>C-E331B8AC12BF****</Id>
    <SoftwareInfo>
        <Status>SUCCESS</Status>
        <RequestId>B8DC3A91-3953-4444-92BB-DBC29C47EC1A</RequestId>
        <ZKLinks>
            <ZKLink>
                <Port>2181</Port>
                <Link>ddi-worker-1,ddi-header-2,ddi-header-1</Link>
            </ZKLink>
        </ZKLinks>
        <ClusterId>C-D7958B72E59B****</ClusterId>
        <HpBizId>id</HpBizId>
        <Softwares>
            <Software>
                <StartTpe>1</StartTpe>
                <Version>2.3.3</Version>
                <DisplayName>SPARK</DisplayName>
                <OnlyDisplay>false</OnlyDisplay>
                <Name>HIVE</Name>
            </Software>
        </Softwares>
        <ErrorMsg>The specified ImageId does not exist.</ErrorMsg>
        <ClusterName>main</ClusterName>
        <EmrVer>DDI-V1.0</EmrVer>
        <ErrorCode>InvalidImageId.NotFound</ErrorCode>
        <ClusterType>标准型</ClusterType>
        <HpName>name</HpName>
    </SoftwareInfo>
    <SecurityGroupName>emr-default-securitygroup</SecurityGroupName>
    <LogEnable>true</LogEnable>
    <MasterNodeInService>2</MasterNodeInService>
    <RelateClusterInfo>
        <Status>SUCCESS</Status>
        <RequestId>B8DC3A91-3953-4444-92BB-DBC29C47EC1A</RequestId>
        <ZKLinks>
            <ZKLink>
                <Port>2181</Port>
                <Link>ddi-worker-1,ddi-header-2,ddi-header-1</Link>
            </ZKLink>
        </ZKLinks>
        <ClusterId>C-D7958B72E59B****</ClusterId>
        <HpBizId>id</HpBizId>
        <Softwares>
            <Software>
                <StartTpe>1</StartTpe>
                <Version>2.3.3</Version>
                <DisplayName>SPARK</DisplayName>
                <OnlyDisplay>false</OnlyDisplay>
                <Name>HIVE</Name>
            </Software>
        </Softwares>
        <ErrorMsg>The specified ImageId does not exist.</ErrorMsg>
        <ClusterName>main</ClusterName>
        <EmrVer>DDI-V1.0</EmrVer>
        <ErrorCode>InvalidImageId.NotFound</ErrorCode>
        <ClusterType>标准型</ClusterType>
        <HpName>name</HpName>
    </RelateClusterInfo>
    <RelateClusterId>C-D7958B72E59****</RelateClusterId>
    <AutoScalingByLoadAllowed>true</AutoScalingByLoadAllowed>
    <AutoScalingWithGraceAllowed>false</AutoScalingWithGraceAllowed>
    <CoreNodeTotal>3</CoreNodeTotal>
    <Configurations>[]</Configurations>
    <NetType>vpc</NetType>
    <LocalMetaDb>true</LocalMetaDb>
    <GatewayClusterIds>C-D7958B72E59B****</GatewayClusterIds>
    <IoOptimized>true</IoOptimized>
    <ZoneId>cn-hangzhou-b</ZoneId>
    <SecurityGroupId>sg-bp1bvompzxgx7q0****</SecurityGroupId>
    <MachineType>ECS</MachineType>
    <TaskNodeTotal>2</TaskNodeTotal>
    <AccessInfo>
        <Status>SUCCESS</Status>
        <RequestId>B8DC3A91-3953-4444-92BB-DBC29C47EC1A</RequestId>
        <ZKLinks>
            <ZKLink>
                <Port>2181</Port>
                <Link>ddi-worker-1,ddi-header-2,ddi-header-1</Link>
            </ZKLink>
        </ZKLinks>
        <ClusterId>C-D7958B72E59B****</ClusterId>
        <HpBizId>id</HpBizId>
        <Softwares>
            <Software>
                <StartTpe>1</StartTpe>
                <Version>2.3.3</Version>
                <DisplayName>SPARK</DisplayName>
                <OnlyDisplay>false</OnlyDisplay>
                <Name>HIVE</Name>
            </Software>
        </Softwares>
        <ErrorMsg>The specified ImageId does not exist.</ErrorMsg>
        <ClusterName>main</ClusterName>
        <EmrVer>DDI-V1.0</EmrVer>
        <ErrorCode>InvalidImageId.NotFound</ErrorCode>
        <ClusterType>标准型</ClusterType>
        <HpName>name</HpName>
    </AccessInfo>
    <ExtraInfo>-None-</ExtraInfo>
    <MasterNodeTotal>2</MasterNodeTotal>
    <UserId>125046002175****</UserId>
    <ChargeType>PostPaid</ChargeType>
    <AutoScalingEnable>false</AutoScalingEnable>
    <InstanceGeneration>ecs-3</InstanceGeneration>
    <RegionId>cn-hangzhou</RegionId>
    <LogPath>oss://bucketname/path</LogPath>
    <RunningTime>1102</RunningTime>
</ClusterInfo>
<RequestId>14E9C045-9B8D-4D1E-8D23-FC0027B6D947</RequestId>

JSON 格式

{
    "ClusterInfo": {
        "TaskNodeInService": 2,
        "ShowSoftwareInterface": true,
        "CoreNodeInService": 3,
        "HostPoolInfo": {
            "Status": "SUCCESS",
            "RequestId": "B8DC3A91-3953-4444-92BB-DBC29C47EC1A",
            "ZKLinks": {
                "ZKLink": {
                    "Port": 2181,
                    "Link": "ddi-worker-1,ddi-header-2,ddi-header-1"
                }
            },
            "ClusterId": "C-D7958B72E59B****",
            "HpBizId": "id",
            "Softwares": {
                "Software": {
                    "StartTpe": 1,
                    "Version": "2.3.3",
                    "DisplayName": "SPARK",
                    "OnlyDisplay": false,
                    "Name": "HIVE"
                }
            },
            "ErrorMsg": "The specified ImageId does not exist.",
            "ClusterName": "main",
            "EmrVer": "DDI-V1.0",
            "ErrorCode": "InvalidImageId.NotFound",
            "ClusterType": "标准型",
            "HpName": "name"
        },
        "BootstrapActionList": {
            "BootstrapAction": [
                {
                    "Status": "IDLE",
                    "ClusterId": "C-D7958B72E59B****",
                    "ClusterName": "gateway-name"
                },
                {
                    "HostGroupType": "CORE",
                    "HostGroupSubType": 0,
                    "HostGroupChangeType": "RESIZE_DISK",
                    "DiskCount": 4,
                    "HostGroupChangeStatus": "IN_PROGRESS",
                    "NodeCount": 4,
                    "Period": 30,
                    "MemoryCapacity": 16,
                    "HostGroupName": "主实例组",
                    "LockType": 0,
                    "DiskType": "CLOUD_ESSD",
                    "BandWidth": 10,
                    "DiskCapacity": 120,
                    "HostGroupId": "G-9D08642FB8CE****",
                    "ChargeType": "PostPaid",
                    "CpuCore": 16,
                    "InstanceType": "ecs.n4.2xlarge",
                    "LockReason": 0
                },
                {
                    "Nodes": {
                        "Node": [
                            {
                                "Status": "NORMAL",
                                "ZoneId": "cn-hangzhou-e",
                                "InnerIp": "192.168.128.236",
                                "InstanceId": "i-bp1ftve3lzvpm16hp7lo",
                                "ExpiredTime": "2099-12-31T15:59Z",
                                "CreateTime": 1543804242000,
                                "PubIp": "47.99.***.***",
                                "EmrExpiredTime": "2099-12-31T15:59Z",
                                "SupportIpV6": false
                            },
                            {
                                "DaemonInfos": {
                                    "DaemonInfo": [
                                        {
                                            "Name": 0
                                        },
                                        {
                                            "Type": "data",
                                            "Device": "/dev/xvdb",
                                            "Size": 80,
                                            "DiskName": "disk1",
                                            "DiskId": "d-bp15vg2nr3x2t0f37ko9"
                                        }
                                    ]
                                },
                                "DiskInfos": {
                                    "DiskInfo": [
                                        {
                                            "Name": 0
                                        },
                                        {
                                            "Type": "data",
                                            "Device": "/dev/xvdb",
                                            "Size": 80,
                                            "DiskName": "disk1",
                                            "DiskId": "d-bp15vg2nr3x2t0f37ko9"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "Path": "oss://bucket/path",
                    "Arg": "--a",
                    "Name": "action_name"
                }
            ]
        },
        "ResizeDiskEnable": true,
        "FailReason": {
            "Status": "SUCCESS",
            "RequestId": "B8DC3A91-3953-4444-92BB-DBC29C47EC1A",
            "ZKLinks": {
                "ZKLink": {
                    "Port": 2181,
                    "Link": "ddi-worker-1,ddi-header-2,ddi-header-1"
                }
            },
            "ClusterId": "C-D7958B72E59B****",
            "HpBizId": "id",
            "Softwares": {
                "Software": {
                    "StartTpe": 1,
                    "Version": "2.3.3",
                    "DisplayName": "SPARK",
                    "OnlyDisplay": false,
                    "Name": "HIVE"
                }
            },
            "ErrorMsg": "The specified ImageId does not exist.",
            "ClusterName": "main",
            "EmrVer": "DDI-V1.0",
            "ErrorCode": "InvalidImageId.NotFound",
            "ClusterType": "标准型",
            "HpName": "name"
        },
        "K8sClusterId": "[]",
        "Name": "cluster_name",
        "HighAvailabilityEnable": true,
        "AutoScalingVersion": false,
        "ExpiredTime": 1544076205000,
        "CreateType": "MANUAL",
        "ImageId": "m-bp118knl07yk88y8s6cj",
        "AutoScalingSpotWithLimitAllowed": false,
        "UserDefinedEmrEcsRole": "AliyunDDIAccessingOSSRole",
        "AutoScalingAllowed": false,
        "StopTime": 1543804234000,
        "Status": "IDLE",
        "CreateResource": "ECM_DDI",
        "BootstrapFailed": false,
        "VSwitchId": "vsw-bp11qjbyggil4pow0****",
        "DepositType": "HALF_MANAGED",
        "StartTime": 1543804234000,
        "Period": 36,
        "MetaStoreType": "local",
        "GatewayClusterInfoList": {
            "GatewayClusterInfo": [
                {
                    "Status": "IDLE",
                    "ClusterId": "C-D7958B72E59B****",
                    "ClusterName": "gateway-name"
                },
                {
                    "HostGroupType": "CORE",
                    "HostGroupSubType": 0,
                    "HostGroupChangeType": "RESIZE_DISK",
                    "DiskCount": 4,
                    "HostGroupChangeStatus": "IN_PROGRESS",
                    "NodeCount": 4,
                    "Period": 30,
                    "MemoryCapacity": 16,
                    "HostGroupName": "主实例组",
                    "LockType": 0,
                    "DiskType": "CLOUD_ESSD",
                    "BandWidth": 10,
                    "DiskCapacity": 120,
                    "HostGroupId": "G-9D08642FB8CE****",
                    "ChargeType": "PostPaid",
                    "CpuCore": 16,
                    "InstanceType": "ecs.n4.2xlarge",
                    "LockReason": 0
                },
                {
                    "Nodes": {
                        "Node": [
                            {
                                "Status": "NORMAL",
                                "ZoneId": "cn-hangzhou-e",
                                "InnerIp": "192.168.128.236",
                                "InstanceId": "i-bp1ftve3lzvpm16hp7lo",
                                "ExpiredTime": "2099-12-31T15:59Z",
                                "CreateTime": 1543804242000,
                                "PubIp": "47.99.***.***",
                                "EmrExpiredTime": "2099-12-31T15:59Z",
                                "SupportIpV6": false
                            },
                            {
                                "DaemonInfos": {
                                    "DaemonInfo": [
                                        {
                                            "Name": 0
                                        },
                                        {
                                            "Type": "data",
                                            "Device": "/dev/xvdb",
                                            "Size": 80,
                                            "DiskName": "disk1",
                                            "DiskId": "d-bp15vg2nr3x2t0f37ko9"
                                        }
                                    ]
                                },
                                "DiskInfos": {
                                    "DiskInfo": [
                                        {
                                            "Name": 0
                                        },
                                        {
                                            "Type": "data",
                                            "Device": "/dev/xvdb",
                                            "Size": 80,
                                            "DiskName": "disk1",
                                            "DiskId": "d-bp15vg2nr3x2t0f37ko9"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "Path": "oss://bucket/path",
                    "Arg": "--a",
                    "Name": "action_name"
                }
            ]
        },
        "EasEnable": true,
        "VpcId": "vpc-bp1l4urd87xlh7i4****",
        "HostGroupList": {
            "HostGroup": [
                {
                    "Status": "IDLE",
                    "ClusterId": "C-D7958B72E59B****",
                    "ClusterName": "gateway-name"
                },
                {
                    "HostGroupType": "CORE",
                    "HostGroupSubType": 0,
                    "HostGroupChangeType": "RESIZE_DISK",
                    "DiskCount": 4,
                    "HostGroupChangeStatus": "IN_PROGRESS",
                    "NodeCount": 4,
                    "Period": 30,
                    "MemoryCapacity": 16,
                    "HostGroupName": "主实例组",
                    "LockType": 0,
                    "DiskType": "CLOUD_ESSD",
                    "BandWidth": 10,
                    "DiskCapacity": 120,
                    "HostGroupId": "G-9D08642FB8CE****",
                    "ChargeType": "PostPaid",
                    "CpuCore": 16,
                    "InstanceType": "ecs.n4.2xlarge",
                    "LockReason": 0
                },
                {
                    "Nodes": {
                        "Node": [
                            {
                                "Status": "NORMAL",
                                "ZoneId": "cn-hangzhou-e",
                                "InnerIp": "192.168.128.236",
                                "InstanceId": "i-bp1ftve3lzvpm16hp7lo",
                                "ExpiredTime": "2099-12-31T15:59Z",
                                "CreateTime": 1543804242000,
                                "PubIp": "47.99.***.***",
                                "EmrExpiredTime": "2099-12-31T15:59Z",
                                "SupportIpV6": false
                            },
                            {
                                "DaemonInfos": {
                                    "DaemonInfo": [
                                        {
                                            "Name": 0
                                        },
                                        {
                                            "Type": "data",
                                            "Device": "/dev/xvdb",
                                            "Size": 80,
                                            "DiskName": "disk1",
                                            "DiskId": "d-bp15vg2nr3x2t0f37ko9"
                                        }
                                    ]
                                },
                                "DiskInfos": {
                                    "DiskInfo": [
                                        {
                                            "Name": 0
                                        },
                                        {
                                            "Type": "data",
                                            "Device": "/dev/xvdb",
                                            "Size": 80,
                                            "DiskName": "disk1",
                                            "DiskId": "d-bp15vg2nr3x2t0f37ko9"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                },
                {
                    "Path": "oss://bucket/path",
                    "Arg": "--a",
                    "Name": "action_name"
                }
            ]
        },
        "Id": "C-E331B8AC12BF****",
        "SoftwareInfo": {
            "Status": "SUCCESS",
            "RequestId": "B8DC3A91-3953-4444-92BB-DBC29C47EC1A",
            "ZKLinks": {
                "ZKLink": {
                    "Port": 2181,
                    "Link": "ddi-worker-1,ddi-header-2,ddi-header-1"
                }
            },
            "ClusterId": "C-D7958B72E59B****",
            "HpBizId": "id",
            "Softwares": {
                "Software": {
                    "StartTpe": 1,
                    "Version": "2.3.3",
                    "DisplayName": "SPARK",
                    "OnlyDisplay": false,
                    "Name": "HIVE"
                }
            },
            "ErrorMsg": "The specified ImageId does not exist.",
            "ClusterName": "main",
            "EmrVer": "DDI-V1.0",
            "ErrorCode": "InvalidImageId.NotFound",
            "ClusterType": "标准型",
            "HpName": "name"
        },
        "SecurityGroupName": "emr-default-securitygroup",
        "LogEnable": true,
        "MasterNodeInService": 2,
        "RelateClusterInfo": {
            "Status": "SUCCESS",
            "RequestId": "B8DC3A91-3953-4444-92BB-DBC29C47EC1A",
            "ZKLinks": {
                "ZKLink": {
                    "Port": 2181,
                    "Link": "ddi-worker-1,ddi-header-2,ddi-header-1"
                }
            },
            "ClusterId": "C-D7958B72E59B****",
            "HpBizId": "id",
            "Softwares": {
                "Software": {
                    "StartTpe": 1,
                    "Version": "2.3.3",
                    "DisplayName": "SPARK",
                    "OnlyDisplay": false,
                    "Name": "HIVE"
                }
            },
            "ErrorMsg": "The specified ImageId does not exist.",
            "ClusterName": "main",
            "EmrVer": "DDI-V1.0",
            "ErrorCode": "InvalidImageId.NotFound",
            "ClusterType": "标准型",
            "HpName": "name"
        },
        "RelateClusterId": "C-D7958B72E59****",
        "AutoScalingByLoadAllowed": true,
        "AutoScalingWithGraceAllowed": false,
        "CoreNodeTotal": 3,
        "Configurations": "[]",
        "NetType": "vpc",
        "LocalMetaDb": true,
        "GatewayClusterIds": "C-D7958B72E59B****",
        "IoOptimized": true,
        "ZoneId": "cn-hangzhou-b",
        "SecurityGroupId": "sg-bp1bvompzxgx7q0****",
        "MachineType": "ECS",
        "TaskNodeTotal": 2,
        "AccessInfo": {
            "Status": "SUCCESS",
            "RequestId": "B8DC3A91-3953-4444-92BB-DBC29C47EC1A",
            "ZKLinks": {
                "ZKLink": {
                    "Port": 2181,
                    "Link": "ddi-worker-1,ddi-header-2,ddi-header-1"
                }
            },
            "ClusterId": "C-D7958B72E59B****",
            "HpBizId": "id",
            "Softwares": {
                "Software": {
                    "StartTpe": 1,
                    "Version": "2.3.3",
                    "DisplayName": "SPARK",
                    "OnlyDisplay": false,
                    "Name": "HIVE"
                }
            },
            "ErrorMsg": "The specified ImageId does not exist.",
            "ClusterName": "main",
            "EmrVer": "DDI-V1.0",
            "ErrorCode": "InvalidImageId.NotFound",
            "ClusterType": "标准型",
            "HpName": "name"
        },
        "ExtraInfo": "-None-",
        "MasterNodeTotal": 2,
        "UserId": "125046002175****",
        "ChargeType": "PostPaid",
        "AutoScalingEnable": false,
        "InstanceGeneration": "ecs-3",
        "RegionId": "cn-hangzhou",
        "LogPath": "oss://bucketname/path",
        "RunningTime": 1102
    },
    "RequestId": "14E9C045-9B8D-4D1E-8D23-FC0027B6D947"
}

错误码

HttpCode 错误码 错误信息 描述
403 Params.Illegal The format of the specified parameter is invalid. 参数格式错误
400 InternalError The request processing has failed due to some unknown error. 内部错误,请提工单
400 ClusterId.NotFound The cluster ID does not exist. Cluster Id不存在,确认集群的Cluster Id
400 RAM.Permission.NotAllow You are not authorized to perform the operation. 没有权限执行此操作,请联系主账号授权
400 DB.Fail A database access error occurred. 数据库访问错误,请重试或者提工单
400 User.OtherUserResource.NotAllow You are not authorized to operate other users resource. 不能操作其它用户的资源

访问错误中心查看更多错误码。

访问错误中心查看更多错误码。

请关注公众号获取更多资料

发表评论

电子邮件地址不会被公开。 必填项已用*标注

Iconic One Theme | Powered by Wordpress