deleteCloudHadoopInstance
    • PDF

    deleteCloudHadoopInstance

    • PDF

    Article summary

    It can be used in a VPC environment.

    Summary

    Delete a Cloud Hadoop instance.

    Request

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    - You can decide the region.
    - You can obtain the regionCode through the getRegionList action.
    - Default: Select the first region of the getRegionList search results
    cloudHadoopInstanceNoYesString- Cloud Hadoop instance number to delete
    - You can obtain the cloudHadoopInstanceNo through the getCloudHadoopInstanceList action.
    outputNoString- Format type for the response results
    - 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 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;

    Examples

    Request example

    ncloud vhadoop deleteCloudHadoopInstance --regionCode KR --cloudHadoopInstanceNo ****890
    

    Response example

    {
      "deleteCloudHadoopInstanceResponse": {
        "totalRows": 1,
        "cloudHadoopInstanceList": [
          {
            "cloudHadoopInstanceNo": "2773498",
            "cloudHadoopClusterName": "fsdfsdsd",
            "cloudHadoopInstanceStatusName": "deleted",
            "cloudHadoopInstanceStatus": {
              "code": "DEL",
              "codeName": "CLOUD DATABASE(VPC) Deleted 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"
            },
            "cloudHadoopAddOnList": [],
            "ambariServerHost": "e-001-fsdfsdsd-15e9-hd",
            "clusterDirectAccessAccount": "sshuser",
            "loginKey": "newkey",
            "objectStorageBucket": "aabbcc",
            "kdcRealm": "EXAPLE.COM",
            "cloudHadoopImageProductCode": "SW.VCHDP.LNX64.CNTOS.0708.HDP.20.B050",
            "isHa": true,
            "createDate": "2023-02-08T11:21:42+0900",
            "domain": "pri-2kkfq.hadoop.beta.ntruss.com",
            "accessControlGroupNoList": [
              "25472"
            ],
            "cloudHadoopServerInstanceList": [
              {
                "cloudHadoopServerInstanceNo": "2773507",
                "cloudHadoopServerName": "e-001-fsdfsdsd-15e9-hd",
                "cloudHadoopServerRole": {
                  "code": "E",
                  "codeName": "Edge Node"
                },
                "cloudHadoopServerInstanceStatusName": "deleted",
                "cloudHadoopServerInstanceStatus": {
                  "code": "DEL",
                  "codeName": "CLOUD DATABASE(VPC) Server Deleted State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.EDGND.STAND.C004.M016.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "2023",
                "isPublicSubnet": false,
                "dataStorageSize": 107374182400,
                "cpuCount": 4,
                "memorySize": 17179869184,
                "uptime": "2023-02-08T11:26:00+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773499",
                "cloudHadoopServerName": "m-001-fsdfsdsd-15e7-hd",
                "cloudHadoopServerRole": {
                  "code": "M",
                  "codeName": "Master Node"
                },
                "cloudHadoopServerInstanceStatusName": "deleted",
                "cloudHadoopServerInstanceStatus": {
                  "code": "DEL",
                  "codeName": "CLOUD DATABASE(VPC) Server Deleted State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HIMEM.C004.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 4,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T11:25:59+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773503",
                "cloudHadoopServerName": "m-002-fsdfsdsd-15e8-hd",
                "cloudHadoopServerRole": {
                  "code": "M",
                  "codeName": "Master Node"
                },
                "cloudHadoopServerInstanceStatusName": "deleted",
                "cloudHadoopServerInstanceStatus": {
                  "code": "DEL",
                  "codeName": "CLOUD DATABASE(VPC) Server Deleted State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HIMEM.C004.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 4,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T11:26:00+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773510",
                "cloudHadoopServerName": "d-001-fsdfsdsd-15ea-hd",
                "cloudHadoopServerRole": {
                  "code": "D",
                  "codeName": "Date Node"
                },
                "cloudHadoopServerInstanceStatusName": "deleted",
                "cloudHadoopServerInstanceStatus": {
                  "code": "DEL",
                  "codeName": "CLOUD DATABASE(VPC) Server Deleted State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HICPU.C008.M016.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 17179869184,
                "uptime": "2023-02-08T11:26:16+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773514",
                "cloudHadoopServerName": "d-002-fsdfsdsd-15eb-hd",
                "cloudHadoopServerRole": {
                  "code": "D",
                  "codeName": "Date Node"
                },
                "cloudHadoopServerInstanceStatusName": "deleted",
                "cloudHadoopServerInstanceStatus": {
                  "code": "DEL",
                  "codeName": "CLOUD DATABASE(VPC) Server Deleted State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HICPU.C008.M016.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 17179869184,
                "uptime": "2023-02-08T11:26:27+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2775747",
                "cloudHadoopServerName": "d-003-fsdfsdsd-15is-hd",
                "cloudHadoopServerRole": {
                  "code": "D",
                  "codeName": "Date Node"
                },
                "cloudHadoopServerInstanceStatusName": "deleted",
                "cloudHadoopServerInstanceStatus": {
                  "code": "DEL",
                  "codeName": "CLOUD DATABASE(VPC) Server Deleted State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HICPU.C008.M016.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 17179869184,
                "uptime": "2023-02-08T20:24:20+0900",
                "createDate": "2023-02-08T20:20:13+0900"
              }
            ]
          }
        ],
        "requestId": "24c7df63-eada-4b28-8f0d-334f2c204895",
        "returnCode": "0",
        "returnMessage": "success"
      }
    }
    
    <deleteCloudHadoopInstanceResponse>
        <requestId>2fe2f60f-950c-4a30-90b9-443f699fdcaa</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <cloudHadoopInstanceList>
            <cloudHadoopInstance>
                <cloudHadoopInstanceNo>1912***</cloudHadoopInstanceNo>
                <cloudHadoopClusterName>fasd***</cloudHadoopClusterName>
                <cloudHadoopInstanceStatusName>deleted</cloudHadoopInstanceStatusName>
                <cloudHadoopInstanceStatus>
                    <code>DEL</code>
                    <codeName>CLOUD DATABASE(VPC) Deleted 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), Zeppelin Notebook(0.8.0), Spark(2.3.2)
                    </codeName>
                </cloudHadoopClusterType>
                <cloudHadoopVersion>
                    <code>HADOOP1.5</code>
                    <codeName>Cloud Hadoop 1.5</codeName>
                </cloudHadoopVersion>
                <cloudHadoopAddOnList>
                    <cloudHadoopAddOn>
                        <code>HBASE</code>
                        <codeName>HBASE (2.0.2)</codeName>
                    </cloudHadoopAddOn>
                </cloudHadoopAddOnList>
                <ambariServerHost>e-001-fas****-lc5-hd</ambariServerHost>
                <clusterDirectAccessAccount>ssh****</clusterDirectAccessAccount>
                <loginKey>****</loginKey>
                <objectStorageBucket>asdsdx***</objectStorageBucket>
                <kdcRealm>EXAMPLE.COM</kdcRealm>
                <cloudHadoopImageProductCode>SW.VCHDP.LNX64.CNTOS.0708.HDP.15.B050</cloudHadoopImageProductCode>
                <isHa>true</isHa>
                <createDate>2021-09-24T11:47:23+0900</createDate>
                <domain>pub-*****.vpc-hadoop.gov-ntruss.com</domain>
                <accessControlGroupNoList>
                    <accessControlGroupNo>11***</accessControlGroupNo>
                </accessControlGroupNoList>
                <cloudHadoopServerInstanceList>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>E</code>
                            <codeName>Edge Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>deleted</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>DEL</code>
                            <codeName>CLOUD DATABASE(VPC) Server Deleted State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.EDGND.HIMEM.C008.M064.NET.HDD.B050.G002</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-2</zoneCode>
                        <vpcNo>16**</vpcNo>
                        <subnetNo>20**</subnetNo>
                        <isPublicSubnet>true</isPublicSubnet>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>8</cpuCount>
                        <memorySize>68719476736</memorySize>
                        <uptime>2021-11-09T21:39:43+0900</uptime>
                        <createDate>2021-09-24T11:47:23+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>M</code>
                            <codeName>Master Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>deleted</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>DEL</code>
                            <codeName>CLOUD DATABASE(VPC) Server Deleted State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.HICPU.C016.M032.NET.HDD.B050.G002</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-2</zoneCode>
                        <vpcNo>16**</vpcNo>
                        <subnetNo>20**</subnetNo>
                        <isPublicSubnet>true</isPublicSubnet>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>16</cpuCount>
                        <memorySize>34359738368</memorySize>
                        <uptime>2021-11-09T21:39:43+0900</uptime>
                        <createDate>2021-09-24T11:47:23+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>M</code>
                            <codeName>Master Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>deleted</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>DEL</code>
                            <codeName>CLOUD DATABASE(VPC) Server Deleted State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.HICPU.C016.M032.NET.HDD.B050.G002</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-2</zoneCode>
                        <vpcNo>16**</vpcNo>
                        <subnetNo>20**</subnetNo>
                        <isPublicSubnet>true</isPublicSubnet>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>16</cpuCount>
                        <memorySize>34359738368</memorySize>
                        <uptime>2021-11-09T21:39:44+0900</uptime>
                        <createDate>2021-09-24T11:47:23+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>D</code>
                            <codeName>Date Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>deleted</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>DEL</code>
                            <codeName>CLOUD DATABASE(VPC) Server Deleted State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.HICPU.C016.M032.NET.HDD.B050.G002</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-2</zoneCode>
                        <vpcNo>16**</vpcNo>
                        <subnetNo>20**</subnetNo>
                        <isPublicSubnet>false</isPublicSubnet>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>16</cpuCount>
                        <memorySize>34359738368</memorySize>
                        <uptime>2021-11-09T21:39:43+0900</uptime>
                        <createDate>2021-09-24T11:47:23+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>D</code>
                            <codeName>Date Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>deleted</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>DEL</code>
                            <codeName>CLOUD DATABASE(VPC) Server Deleted State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.HICPU.C016.M032.NET.HDD.B050.G002</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-2</zoneCode>
                        <vpcNo>16**</vpcNo>
                        <subnetNo>20**</subnetNo>
                        <isPublicSubnet>false</isPublicSubnet>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>16</cpuCount>
                        <memorySize>34359738368</memorySize>
                        <uptime>2021-11-09T21:39:53+0900</uptime>
                        <createDate>2021-09-24T11:47:23+0900</createDate>
                    </cloudHadoopServerInstance>
                </cloudHadoopServerInstanceList>
            </cloudHadoopInstance>
        </cloudHadoopInstanceList>
    </deleteCloudHadoopInstanceResponse>
    

    Was this article helpful?

    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.