getCloudHadoopInstanceList

Prev Next

Available in VPC

Overview

Get a list of Cloud Hadoop instances.

Request

Request parameters

Parameter name Required Type Restrictions Description
regionCode No String Region code
  • Determine the Region where the Cloud Hadoop instance will be queried.
  • regionCode can be obtained through the getRegionList action.
  • Default: Select the first Region of the getRegionList query result.
zoneCode No String Zone code
  • Determine the zone where the Cloud Hadoop instance list will be queried.
  • zoneCode can be obtained through the getZoneList action.
vpcNo No String VPC number
  • Determine the VPC in which the Cloud Hadoop instance list will be queried.
  • vpcNo can be obtained through the getVpcList action.
subnetNo No String Subnet number
  • Determine the subnet in which the Cloud Hadoop instance list will be queried.
  • SubnetNo can be obtained through the getSubnetList action.
cloudHadoopClusterName No String Cloud Hadoop cluster name
  • Search by filtering with the Cloud Hadoop cluster name.
  • cloudHadoopClusterName can be obtained through the getCloudHadoopInstanceList action.
cloudHadoopInstanceNoList No List<String> Cloud Hadoop instance number list
  • Search by filtering with the Cloud Hadoop instance number.
  • cloudHadoopInstanceNoList can be obtained through the getCloudHadoopInstanceList action.
  • (Example) cloudHadoopInstanceNoList 1234 2345
cloudHadoopServerName No String Cloud Hadoop server name
  • Search by filtering with the Cloud Hadoop server name.
  • cloudHadoopServerName can be obtained through the getCloudHadoopInstanceList action.
cloudHadoopServerInstanceNoList No List<String> Cloud Hadoop server instance number list
  • Search by filtering with the Cloud Hadoop instance number.
  • cloudHadoopServerInstanceNoList can be obtained through the getCloudHadoopInstanceList action.
  • (Example) cloudHadoopServerInstanceNoList 1234 2345
pageNo No Integer Min: 0 Page numbers in paged results
  • The results can be paged using pageNo and pageSize.
pageSize Conditional Integer Min: 1 Size of each page to display when paging
  • The results can be paged using pageNo and pageSize.
  • Required when entering pageNo
output No String Response result's format type
  • Options: xml | json
  • Default: json

Response

Response data type

  • CloudHadoopInstanceList type
CloudHadoopInstanceList extends CommonResponse
private Integer totalRows;
private List<CloudHadoopInstance> cloudHadoopInstanceList = new ArrayList<>();
CloudHadoopInstance
private String cloudHadoopInstanceNo;
private String cloudHadoopClusterName;
private String cloudHadoopInstanceStatusName;
private CommonCode cloudHadoopInstanceStatus;
private CommonCode cloudHadoopInstanceOperation;
private CloudHadoopClusterType cloudHadoopClusterType;
private CloudHadoopVersion cloudHadoopVersion;
private List<CloudHadoopAddOn> cloudHadoopAddOnList
private String ambariServerHost;
private String clusterDirectAccessAccount;
private String loginKey;
private String objectStorageBucket;
private String kdcRealm;
private String cloudHadoopImageProductCode;
private Boolean isHa;
private String domain;
private AccessControlGroupNoList accessControlGroupNoList;
private Date createDate;
private Boolean useDataCatalog;
private List<CloudHadoopServerInstance> cloudHadoopServerInstanceList;
CloudHadoopAddOn
private String code;
private String codeName;
CloudHadoopClusterType
private String code;
private String codeName;
CloudHadoopVersion
private String code;
private String codeName;
AccessControlGroupNoList
private List<String> accessControlGroupNoList = new ArrayList<>();
CloudHadoopServerInstance
private String cloudHadoopServerInstanceNo;
private String cloudHadoopServerName;
private String cloudHadoopServerInstanceStatusName;
private CommonCode cloudHadoopServerInstanceStatus;
private CommonCode cloudHadoopServerInstanceOperation;
private CommonCode cloudHadoopServerRole;
private String regionCode;
private String vpcNo;
private String vpcName;
private String subnetNo;
private String subnetName;
private String privateIp;
private Date createDate;
private Date uptime;
private String zoneCode;
private Long memorySize;
private Integer cpuCount;
private Boolean isPublicSubnet;
private Long dataStorageSize;
private String cloudHadoopProductCode;
private CommonCode dataStorageType;

Examples

Call

ncloud vhadoop getCloudHadoopInstanceList --regionCode KR --zoneCode KR-1 --vpcNo ***87 --subnetNo ***32 --cloudHadoopClusterName test-**** --cloudHadoopInstanceNoList 178**** --cloudHadoopServerName test-**** --cloudHadoopServerInstanceNoList 1781*** --pageNo 0 --pageSize 10

Response

{
  "getCloudHadoopInstanceListResponse": {
    "totalRows": 1,
    "cloudHadoopInstanceList": [
      {
        "cloudHadoopInstanceNo": "2773990",
        "cloudHadoopClusterName": "dsadsad",
        "cloudHadoopInstanceStatusName": "running",
        "cloudHadoopInstanceStatus": {
          "code": "CREAT",
          "codeName": "CLOUD DATABASE(VPC) Created State"
        },
        "cloudHadoopInstanceOperation": {
          "code": "NULL",
          "codeName": "CLOUD DATABASE(VPC) Null OP"
        },
        "cloudHadoopClusterType": {
          "code": "CORE_HADOOP_WITH_SPARK",
          "codeName": "Core Hadoop with Spark : HDFS(3.1.1), YARN(3.1.1), Zookeeper(3.4.9), Ranger(2.0.0), HIVE(3.1.2), Hue(4.8.0), Zeppelin Notebook(0.10.1), Spark (2.4.8)"
        },
        "cloudHadoopVersion": {
          "code": "HADOOP2.0",
          "codeName": "Cloud Hadoop 2.0"
        },
        "cloudHadoopImageProductCode": "SW.VCHDP.LNX64.CNTOS.0708.HDP.20.B050",
        "cloudHadoopServerInstanceList": [
          {
            "cloudHadoopServerInstanceNo": "2773999",
            "cloudHadoopServerName": "e-001-dsadsad-15fd-hd",
            "cloudHadoopServerRole": {
              "code": "E",
              "codeName": "Edge Node"
            },
            "cloudHadoopServerInstanceStatusName": "running",
            "cloudHadoopServerInstanceStatus": {
              "code": "RUN",
              "codeName": "CLOUD DATABASE(VPC) Server Running State"
            },
            "cloudHadoopServerInstanceOperation": {
              "code": "NOOP",
              "codeName": "CLOUD DATABASE(VPC) Server Null OP"
            },
            "regionCode": "KR",
            "zoneCode": "KR-2",
            "vpcNo": "3977",
            "vpcName": "vpcTestName",
            "subnetNo": "5747",
            "subnetName": "subnetTestName",
            "privateIp": "192.168.***.***",
            "dataStorageSize": 107374182400,
            "cpuCount": 8,
            "memorySize": 34359738368
          },
          {
            "cloudHadoopServerInstanceNo": "2773991",
            "cloudHadoopServerName": "m-001-dsadsad-15fb-hd",
            "cloudHadoopServerRole": {
              "code": "M",
              "codeName": "Master Node"
            },
            "cloudHadoopServerInstanceStatusName": "running",
            "cloudHadoopServerInstanceStatus": {
              "code": "RUN",
              "codeName": "CLOUD DATABASE(VPC) Server Running State"
            },
            "cloudHadoopServerInstanceOperation": {
              "code": "NOOP",
              "codeName": "CLOUD DATABASE(VPC) Server Null OP"
            },
            "regionCode": "KR",
            "zoneCode": "KR-2",
            "vpcNo": "3977",
            "vpcName": "vpcTestName",
            "subnetNo": "5747",
            "subnetName": "subnetTestName",
            "privateIp": "192.168.***.***",
            "dataStorageSize": 107374182400,
            "cpuCount": 8,
            "memorySize": 34359738368
          },
          {
            "cloudHadoopServerInstanceNo": "2773995",
            "cloudHadoopServerName": "m-002-dsadsad-15fc-hd",
            "cloudHadoopServerRole": {
              "code": "M",
              "codeName": "Master Node"
            },
            "cloudHadoopServerInstanceStatusName": "running",
            "cloudHadoopServerInstanceStatus": {
              "code": "RUN",
              "codeName": "CLOUD DATABASE(VPC) Server Running State"
            },
            "cloudHadoopServerInstanceOperation": {
              "code": "NOOP",
              "codeName": "CLOUD DATABASE(VPC) Server Null OP"
            },
            "regionCode": "KR",
            "zoneCode": "KR-2",
            "vpcNo": "3977",
            "vpcName": "vpcTestName",
            "subnetNo": "5747",
            "subnetName": "subnetTestName",
            "privateIp": "192.168.***.***",
            "dataStorageSize": 107374182400,
            "cpuCount": 8,
            "memorySize": 34359738368
          },
          {
            "cloudHadoopServerInstanceNo": "2774002",
            "cloudHadoopServerName": "d-001-dsadsad-15fe-hd",
            "cloudHadoopServerRole": {
              "code": "D",
              "codeName": "Date Node"
            },
            "cloudHadoopServerInstanceStatusName": "running",
            "cloudHadoopServerInstanceStatus": {
              "code": "RUN",
              "codeName": "CLOUD DATABASE(VPC) Server Running State"
            },
            "cloudHadoopServerInstanceOperation": {
              "code": "NOOP",
              "codeName": "CLOUD DATABASE(VPC) Server Null OP"
            },
            "regionCode": "KR",
            "zoneCode": "KR-2",
            "vpcNo": "3977",
            "vpcName": "vpcTestName",
            "subnetNo": "5747",
            "subnetName": "subnetTestName",
            "privateIp": "192.168.***.***",
            "dataStorageSize": 107374182400,
            "cpuCount": 8,
            "memorySize": 34359738368
          },
          {
            "cloudHadoopServerInstanceNo": "2774006",
            "cloudHadoopServerName": "d-002-dsadsad-15ff-hd",
            "cloudHadoopServerRole": {
              "code": "D",
              "codeName": "Date Node"
            },
            "cloudHadoopServerInstanceStatusName": "running",
            "cloudHadoopServerInstanceStatus": {
              "code": "RUN",
              "codeName": "CLOUD DATABASE(VPC) Server Running State"
            },
            "cloudHadoopServerInstanceOperation": {
              "code": "NOOP",
              "codeName": "CLOUD DATABASE(VPC) Server Null OP"
            },
            "regionCode": "KR",
            "zoneCode": "KR-2",
            "vpcNo": "3977",
            "vpcName": "vpcTestName",
            "subnetNo": "5747",
            "subnetName": "subnetTestName",
            "privateIp": "192.168.***.***",
            "dataStorageSize": 107374182400,
            "cpuCount": 8,
            "memorySize": 34359738368
          },
          {
            "cloudHadoopServerInstanceNo": "2775743",
            "cloudHadoopServerName": "d-003-dsadsad-15ir-hd",
            "cloudHadoopServerRole": {
              "code": "D",
              "codeName": "Date Node"
            },
            "cloudHadoopServerInstanceStatusName": "running",
            "cloudHadoopServerInstanceStatus": {
              "code": "RUN",
              "codeName": "CLOUD DATABASE(VPC) Server Running State"
            },
            "cloudHadoopServerInstanceOperation": {
              "code": "NOOP",
              "codeName": "CLOUD DATABASE(VPC) Server Null OP"
            },
            "regionCode": "KR",
            "zoneCode": "KR-2",
            "vpcNo": "3977",
            "vpcName": "vpcTestName",
            "subnetNo": "5747",
            "subnetName": "subnetTestName",
            "privateIp": "192.168.***.***",
            "dataStorageSize": 107374182400,
            "cpuCount": 8,
            "memorySize": 34359738368
          }
        ]
      }
    ],
    "requestId": "dfb64c78-5b94-44b1-8514-e5d14158b46b",
    "returnCode": "0",
    "returnMessage": "success"
  }
}
<getCloudHadoopInstanceListResponse>
    <requestId>74dd4dd4-9fa3-49a9-b001-86cfd2931a4a</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <cloudHadoopInstanceList>
        <cloudHadoopInstance>
            <cloudHadoopInstanceNo>1912200</cloudHadoopInstanceNo>
            <cloudHadoopClusterName>fasdasd</cloudHadoopClusterName>
            <cloudHadoopInstanceStatusName>running</cloudHadoopInstanceStatusName>
            <cloudHadoopInstanceStatus>
                <code>CREAT</code>
                <codeName>CLOUD DATABASE(VPC) Created State</codeName>
            </cloudHadoopInstanceStatus>
            <cloudHadoopInstanceOperation>
                <code>NULL</code>
                <codeName>CLOUD DATABASE(VPC) Null OP</codeName>
            </cloudHadoopInstanceOperation>
            <cloudHadoopClusterType>
                <code>CORE_HADOOP_WITH_SPARK</code>
                <codeName>Core Hadoop with Spark : HDFS(3.1.1), YARN(3.1.1), Zookeeper(3.4.6), Ranger(1.2.0), HIVE(3.1.0), Hue(4.3.0), Zepplin Notebook(0.8.0), Spark(2.3.2)</codeName>
            </cloudHadoopClusterType>
            <cloudHadoopVersion>
                <code>HADOOP1.5</code>
                <codeName>Cloud Hadoop 1.5</codeName>
            </cloudHadoopVersion>
            <cloudHadoopImageProductCode>SW.VCHDP.LNX64.CNTOS.0708.HDP.15.B050</cloudHadoopImageProductCode>
            <cloudHadoopServerInstanceList>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>D</code>
                        <codeName>Date Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>**65</vpcNo>
                    <vpcName>*****</vpcName>
                    <subnetNo>**23</subnetNo>
                    <subnetName>*****</subnetName>
                    <privateIp>***.***.***.***</privateIp>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>4</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>D</code>
                        <codeName>Date Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>**65</vpcNo>
                    <vpcName>*****</vpcName>
                    <subnetNo>**23</subnetNo>
                    <subnetName>*****</subnetName>
                    <privateIp>***.***.***.***</privateIp>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>4</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>E</code>
                        <codeName>Edge Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>1665</vpcNo>
                    <vpcName>*****</vpcName>
                    <subnetNo>2020</subnetNo>
                    <subnetName>*****</subnetName>
                    <privateIp>***.***.***.***</privateIp>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>4</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>M</code>
                        <codeName>Master Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>1665</vpcNo>
                    <vpcName>*****</vpcName>
                    <subnetNo>2020</subnetNo>
                    <subnetName>*****</subnetName>
                    <privateIp>***.***.***.***</privateIp>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>8</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>M</code>
                        <codeName>Master Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>1665</vpcNo>
                    <vpcName>*****</vpcName>
                    <subnetNo>2020</subnetNo>
                    <subnetName>*****</subnetName>
                    <privateIp>***.***.***.***</privateIp>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>8</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
            </cloudHadoopServerInstanceList>
        </cloudHadoopInstance>
    </cloudHadoopInstanceList>
</getCloudHadoopInstanceListResponse>