deleteCloudHadoopInstance

Prev Next

Available in VPC

Delete a Cloud Hadoop cluster.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET | POST /vhadoop/v2/deleteCloudHadoopInstance
Note

This guide is based on the GET method. POST method call tests can be performed through Swagger in the API Gateway service of the NAVER Cloud Platform console.

Request headers

For information about the headers common to all Cloud Hadoop APIs, see Cloud Hadoop request headers.

Request query parameters

You can use the following query parameters with your request:

Field Type Required Description
regionCode String Optional Region code
cloudHadoopInstanceNo String Required Cluster instance number
responseFormatType String Optional Format of the response data
  • xml (default) | json

Request example

The request example is as follows:

curl --location --request GET 'https://ncloud.apigw.ntruss.com/vhadoop/v2/deleteCloudHadoopInstance?regionCode=KR&cloudHadoopInstanceNo=1000*****&responseFormatType=json' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
getCloudHadoopBucketListResponse Object - Response result
getCloudHadoopBucketListResponse.requestId String - ID for the request
  • UUID format
getCloudHadoopBucketListResponse.returnCode String - Response code
getCloudHadoopBucketListResponse.returnMessage String - Response message

Response status codes

For information about the HTTP status codes common to all Cloud Hadoop APIs, see Cloud Hadoop response status codes.

Response example

The response example is as follows:

{
    "deleteCloudHadoopInstanceResponse": {
        "totalRows": 1,
        "cloudHadoopInstanceList": [
            {
                "cloudHadoopInstanceNo": "1000*****",
                "cloudHadoopClusterName": "clus2",
                "cloudHadoopInstanceStatusName": "deleted",
                "cloudHadoopInstanceStatus": {
                    "code": "DEL",
                    "codeName": "CLOUD DATABASE (VPC) Deleted status"
                },
                "cloudHadoopInstanceOperation": {
                    "code": "DEL",
                    "codeName": "CLOUD DATABASE(VPC) Delete 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.1",
                    "codeName": "Cloud Hadoop 2.1"
                },
                "cloudHadoopAddOnList": [],
                "ambariServerHost": "e-001-clus2-5v3u-hd",
                "clusterDirectAccessAccount": "sshuser",
                "loginKey": "**********",
                "objectStorageBucket": "bk4hadoop",
                "cloudHadoopImageProductCode": "SW.VCHDP.LNX64.CNTOS.0708.HDP.21.B050",
                "isHa": true,
                "createDate": "2025-02-19T11:21:19+0900",
                "domain": "pub-******.hadoop.ntruss.com",
                "useDataCatalog": false,
                "accessControlGroupNoList": [
                    "20****"
                ],
                "cloudHadoopServerInstanceList": [
                    {
                        "cloudHadoopServerInstanceNo": "1000*****",
                        "cloudHadoopServerName": "e-001-clus2-5v3u-hd",
                        "cloudHadoopServerRole": {
                            "code": "E",
                            "codeName": "Edge Node"
                        },
                        "cloudHadoopServerInstanceStatusName": "deleting",
                        "cloudHadoopServerInstanceStatus": {
                            "code": "RUN",
                            "codeName": "CLOUD DATABASE (VPC) server Running status"
                        },
                        "cloudHadoopServerInstanceOperation": {
                            "code": "DEL",
                            "codeName": "CLOUD DATABASE (VPC) server Delete OP"
                        },
                        "cloudHadoopProductCode": "SVR.VCHDP.EDGND.STAND.C004.M016.NET.HDD.B050.G002",
                        "regionCode": "KR",
                        "zoneCode": "KR-2",
                        "vpcNo": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": true,
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T11:25:58+0900",
                        "createDate": "2025-02-19T11:21:19+0900"
                    },
                    {
                        "cloudHadoopServerInstanceNo": "1000*****",
                        "cloudHadoopServerName": "m-001-clus2-5v3s-hd",
                        "cloudHadoopServerRole": {
                            "code": "M",
                            "codeName": "Master Node"
                        },
                        "cloudHadoopServerInstanceStatusName": "deleting",
                        "cloudHadoopServerInstanceStatus": {
                            "code": "RUN",
                            "codeName": "CLOUD DATABASE (VPC) server Running status"
                        },
                        "cloudHadoopServerInstanceOperation": {
                            "code": "DEL",
                            "codeName": "CLOUD DATABASE (VPC) server Delete OP"
                        },
                        "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G002",
                        "regionCode": "KR",
                        "zoneCode": "KR-2",
                        "vpcNo": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": true,
                        "dataStorageType": {
                            "code": "SSD",
                            "codeName": "SSD"
                        },
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T11:25:39+0900",
                        "createDate": "2025-02-19T11:21:19+0900"
                    },
                    {
                        "cloudHadoopServerInstanceNo": "1000*****",
                        "cloudHadoopServerName": "m-002-clus2-5v3t-hd",
                        "cloudHadoopServerRole": {
                            "code": "M",
                            "codeName": "Master Node"
                        },
                        "cloudHadoopServerInstanceStatusName": "deleting",
                        "cloudHadoopServerInstanceStatus": {
                            "code": "RUN",
                            "codeName": "CLOUD DATABASE (VPC) server Running status"
                        },
                        "cloudHadoopServerInstanceOperation": {
                            "code": "DEL",
                            "codeName": "CLOUD DATABASE (VPC) server Delete OP"
                        },
                        "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G002",
                        "regionCode": "KR",
                        "zoneCode": "KR-2",
                        "vpcNo": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": true,
                        "dataStorageType": {
                            "code": "SSD",
                            "codeName": "SSD"
                        },
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T11:26:00+0900",
                        "createDate": "2025-02-19T11:21:19+0900"
                    },
                    {
                        "cloudHadoopServerInstanceNo": "1000*****",
                        "cloudHadoopServerName": "d-001-clus2-5v3v-hd",
                        "cloudHadoopServerRole": {
                            "code": "D",
                            "codeName": "Date Node"
                        },
                        "cloudHadoopServerInstanceStatusName": "deleting",
                        "cloudHadoopServerInstanceStatus": {
                            "code": "RUN",
                            "codeName": "CLOUD DATABASE (VPC) server Running status"
                        },
                        "cloudHadoopServerInstanceOperation": {
                            "code": "DEL",
                            "codeName": "CLOUD DATABASE (VPC) server Delete OP"
                        },
                        "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G002",
                        "regionCode": "KR",
                        "zoneCode": "KR-2",
                        "vpcNo": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": false,
                        "dataStorageType": {
                            "code": "SSD",
                            "codeName": "SSD"
                        },
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T11:26:00+0900",
                        "createDate": "2025-02-19T11:21:19+0900"
                    },
                    {
                        "cloudHadoopServerInstanceNo": "1000*****",
                        "cloudHadoopServerName": "d-002-clus2-5v3w-hd",
                        "cloudHadoopServerRole": {
                            "code": "D",
                            "codeName": "Date Node"
                        },
                        "cloudHadoopServerInstanceStatusName": "deleting",
                        "cloudHadoopServerInstanceStatus": {
                            "code": "RUN",
                            "codeName": "CLOUD DATABASE (VPC) server Running status"
                        },
                        "cloudHadoopServerInstanceOperation": {
                            "code": "DEL",
                            "codeName": "CLOUD DATABASE (VPC) server Delete OP"
                        },
                        "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G002",
                        "regionCode": "KR",
                        "zoneCode": "KR-2",
                        "vpcNo": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": false,
                        "dataStorageType": {
                            "code": "SSD",
                            "codeName": "SSD"
                        },
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T11:25:41+0900",
                        "createDate": "2025-02-19T11:21:19+0900"
                    }
                ]
            }
        ],
        "requestId": "f95e0469-****-****-****-2a9d943a09f1",
        "returnCode": "0",
        "returnMessage": "success"
    }
}