getCloudHadoopInstanceList
    • PDF

    getCloudHadoopInstanceList

    • PDF

    記事の要約

    VPC環境で利用できます。

    概要

    Cloud Hadoopインスタンスリストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須有無タイプ制約事項説明
    regionCodeNoString- リージョンコード
    - Cloud Hadoopインスタンスリストが照会されるリージョンを決定できます。
    - regionCodeはgetRegionListアクションを通じて取得できます。
    - デフォルト:getRegionList照会結果の最初のリージョンを選択
    zoneCodeNoString- Zoneコード
    - Cloud Hadoopインスタンスリストが照会されるZoneを決定できます。
    - zoneCodeはgetZoneListアクションを通じて取得できます。
    vpcNoNoString- VPC番号
    - Cloud Hadoopインスタンスリストが照会されるVPCを決定できます。
    - vpcNoはgetVpcListアクションを通じて取得できます。
    subnetNoNoString- Subnet番号
    - Cloud Hadoopインスタンスリストが照会されるSubnetを決定できます。
    - SubnetNoはgetSubnetListアクションを通じて取得できます。
    cloudHadoopClusterNameNoString- Cloud Hadoop クラスター名
    - Cloud Hadoop クラスター名でフィルタリングして検索できます。
    - cloudHadoopClusterNameはgetCloudHadoopInstanceListアクションを通じて取得できます。
    cloudHadoopInstanceNoListNoList<String>- Cloud Hadoopインスタンス番号リスト
    - Cloud Hadoopインスタンス番号でフィルタリングして検索できます。
    - cloudHadoopInstanceNoListはgetCloudHadoopInstanceListアクションを通じて取得できます。
    - ex) cloudHadoopInstanceNoList 1234 2345
    cloudHadoopServerNameNoString- Cloud Hadoopサーバ名
    - Cloud Hadoopサーバ名でフィルタリングして検索できます。
    - cloudHadoopServerNameはgetCloudHadoopInstanceListアクションを通じて取得できます。
    cloudHadoopServerInstanceNoListNoList<String>- Cloud Hadoopサーバインスタンス番号リスト
    - Cloud Hadoopサーバインスタンス番号でフィルタリングして検索できます。
    - cloudHadoopServerInstanceNoListはgetCloudHadoopInstanceListアクションを通じて取得できます。
    - ex) cloudHadoopServerInstanceNoList 1234 2345
    pageNoNoIntegerMin: 0- ページングされた結果のページ番号
    - 結果値をpageNo、pageSizeを利用してページング処理できます。
    pageSizeConditionalIntegerMin: 1- ページング時に表示する各ページサイズ
    - 結果値をpageNo、pageSizeを利用してページング処理できます。
    - pageNoを入力する際に必ず入力します。
    outputNoString- レスポンス結果のフォーマットタイプ
    - Options : xml | json
    - Default : json

    レスポンス

    レスポンス データタイプ

    • CloudHadoopInstanceList タイプ
    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 subnetNo;
    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;

    リクエスト例

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

    レスポンス例

    {
      "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",
                "subnetNo": "5747",
                "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",
                "subnetNo": "5747",
                "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",
                "subnetNo": "5747",
                "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",
                "subnetNo": "5747",
                "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",
                "subnetNo": "5747",
                "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",
                "subnetNo": "5747",
                "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>
                        <subnetNo>**23</subnetNo>
                        <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>
                        <subnetNo>**23</subnetNo>
                        <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>
                        <subnetNo>2020</subnetNo>
                        <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>
                        <subnetNo>2020</subnetNo>
                        <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>
                        <subnetNo>2020</subnetNo>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>8</cpuCount>
                        <memorySize>34359738368</memorySize>
                    </cloudHadoopServerInstance>
                </cloudHadoopServerInstanceList>
            </cloudHadoopInstance>
        </cloudHadoopInstanceList>
    </getCloudHadoopInstanceListResponse>
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.