查询集群节点组详情V2 接口功能介绍 此接口提供查询用户集群节点组详情功能,系统接收用户输入的查询条件,返回符合条件的集群节点组信息。 接口约束 只允许查询处于运行中状态的集群的节点组详情。 URI POST /v2/emr/openapi/cluster/nodeGroup/getGroupAndHostByCondition 路径参数 无 Query参数 无 请求参数 请求头header参数 无 请求体body参数 参数 是否必填 参数类型 说明 示例 下级对象 clusterId 是 String 集群id bdbbc8cc1288a78e5851839dc26f58b9 nodeState 否 Integer 主机状态(1:启动中,2:正在关机,4:已删除,8:运行中,9:已关机) 1 selectKey 否 String 模糊查询参数,可以通过节点名称、内网IP、外网IP进行模糊查询 10.0.0.2 响应参数 参数 参数类型 说明 示例 下级对象 statusCode Integer 状态码,成功:200,失败:500 200 message String 用来简述当前接口调用状态以及必要提示信息 请求成功 error String 错误码,请求成功时,不返回该字段 EMR400000 returnObj Object 返回结果 表 returnObj 参数 参数类型 说明 示例 下级对象 id String 节点组id 175187849787779 clusterId String 集群id da595eb1d81503b323fdc01d9bf786b7 payType Integer 付费类型 1 nodeGroupType String 节点类型code码 MASTER nodeGroupName String 节点类型code值 master imageId String 镜像id f8d28855ffda426d96e20f6bf46877e0 hostNum Integer 主机数量 3 computeSpecificationId Integer 主机规格id 101 iaasVmSpecCode String IAAS虚机规格编码 s7.2xlarge.4 cpuNum Integer cpu核数集群列表 8 memory Integer 内存大小 32 diskSpecificationList String 磁盘规格列表 [{diskFunctionType:1,diskFunctionName:系统盘,diskType:cloud,diskTypeName:云硬盘,ioType:SSDgenric,ioTypeName:通用型SSD,volume:200,diskNum:1}] createTime Integer 创建时间 1706515356000 updateTime Integer 更新时间 1706515356000 mountPublicIp Boolean 是否挂载公网 false iaasVmSpecId String IAAS虚机规格id b307034dcbc327bb24f7a97565814236 highest Boolean 节点组规格是否最高 false regionId String 资源池id bb9fdb42056f11eda1610242ac110002 availableZoneId String 可用区id cnhuadong1jsnj1Apublicctcloud vpcId String vpc id vpcfr2xjo1gj0 clusterHostDtoList Array of Objects 集群节点组列表 clusterHostDtoList 表 clusterHostDtoList 参数 参数类型 说明 示例 下级对象 id String 主键id 0088babec7bab47b20409df6646db856 nodeGroupId String 节点组id 1753298494213554178 iaasHostId String 平台主机id b2f2377d3f0bbc74b9c567bb557b0e63 hostName String 主机名称 bigdataemrvml7zb3wnk manageIp String 管理IP 10.2.3.0 serviceIp String 内网IP 192.168.0.149 publicIp String 公网IP 212.168.0.150 ipv6ServiceIp String ipv6内网ip 240e:982:db0f:6c00:d1ea:8588:69fa:96 ipv6PublicIp String ipv6公网ip 240e:982:db0f:6c00:d1ea:8588:69fa:97 state Integer 机器状态枚举(创建主机时机器状态,非即时状态) 8 vpcId String vpc id vpcfr2xjo1gj0 subnetId String 子网id subnetvkixrw8xw7 regionId String 资源池id bb9fdb42056f11eda1610242ac110002 availableZoneId String 可用区id cnhuadong1jsnj1Apublicctcloud eipId String 弹性IP id eipsssww bandwidthId String 绑定ipv6的带宽id bandwidthfnzgeac441 jobId String 开机jobId compute8d9eabb589a544debeae583bf624f6d5 masterOrderId String IT的主订单id b8d68f4c36734227ac4c8fb7bba58ae9 iaasMasterOrderId String IAAS的主订单id INT022024091218592892305018 paasResourceId String 订单来源 6276b490c2504f4ba90e90e857b043e4 isDeleted Integer 判断是否删除了当前节点(发生撤单时会删除该节点)(0:未删除,1:已删除) 0 createTime Integer 创建时间 1706515356000 updateTime Integer 更新时间 1706515356000 isDoctorAgent Boolean 是否安装Doctor插件 False hostStateValue String 机器状态 运行中 deployRoleInstance Array of Strings 部署角色实例 [ "NodeMaster" ]