Cloud Hadoop (VPC) Overview
  • PDF

Cloud Hadoop (VPC) Overview

  • PDF

Can be used in a VPC environment.

Overview

NAVER Cloud Platform is a cloud service built with NAVER's latest computing technology and operational know-how.
The application program interface (API) that supports the use of services and solutions provided by NAVER Cloud Platform is called NAVER Cloud Platform API.

Common information

API URL

https://ncloud.apigw.ntruss.com/vhadoop/v2/

Request Header

Header Description
x-ncp-apigw-timestamp - It is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
- If the time difference with the API Gateway server is more than 5 minutes, the request is considered invalid.
x-ncp-iam-access-key API key issued by NAVER Cloud Platform or access key issued by IAM
x-ncp-apigw-signature-v2 - Signature used to encrypt the body of the example with the “secret key” that maps with the “access key.”
- The HMAC encryption algorithm is HMAC SHA256.

Operations

Cloud Hadoop (VPC)

API Description
backupClusterConfiguration Back up client settings of all in-cluster components to the Object Storage bucket mapped to the cluster.
changeCloudHadoopNodeCount Change the number of Cloud Hadoop nodes.
changeCloudHadoopNodeSpec Change the specifications of Cloud Hadoop nodes.
createCloudHadoopInstance Create a Cloud Hadoop instance.
deleteCloudHadoopInstance Delete a Cloud Hadoop instance.
getCloudHadoopAddOnList Search Cloud Hadoop's add-on list.
getCloudHadoopBucketList Search the list of Object Storage buckets available to use with Cloud Hadoop.
getCloudHadoopClusterTypeList Search Cloud Hadoop cluster types according to the cluster version.
getCloudHadoopImageProductList Search a list of Cloud Hadoop product codes.
getCloudHadoopInstanceDetail Search Cloud Hadoop instance details.
getCloudHadoopInstanceList Search a list of Cloud Hadoop instances.
getCloudHadoopLoginKeyList Search a list of Cloud Hadoop authentication keys.
getCloudHadoopMysqlInstanceList Query the list of instances of Cloud DB for MySQL (VPC) to work with the Cloud Hadoop Hive Metastore
getCloudHadoopMysqlUserList Query the list of users in Cloud DB for MySQL (VPC) to work with the Cloud Hadoop Hive Metastores
getCloudHadoopObjectList Query the list of files in the Object Storage bucket available in Cloud Hadoop
getCloudHadoopProductList Search a list of Cloud Hadoop server specification codes available for use.
saveExternalHiveMetaStore Associate the Cloud Hadoop Hive Metastore with the Cloud DB for MySQL (VPC) database created in your account
testConnectExternalHiveMetaStore Test whether a Cloud DB for MySQL (VPC) database created in a user account can be linked to a Cloud Hadoop Hive meta-store
getCloudHadoopTargetSubnetList View Subnet List in Cloud Hadoop
getCloudHadoopTargetVpcList Query VPC list in Cloud Hadoop

Error code

If a wrong API request is sent, or an error occurs during its processing, then the success/failure result is returned as an HTTP status code. The detailed message is then returned in the form of JSON/XML.

Response example

{
​"responseError":{
   "returnCode":"Return code",
   "returnMessage":"Return message"
​}
​}

If the output format is XML

<responseError>
  <returnCode>Return code</returnCode>
  <returnMessage>Return message</returnMessage>
​</responseError>

Error response

HTTP status Return code Return message Description Solutions
400 900 Required field is not specified. location : [Required parameter name] When the required parameter doesn't exist Add required parameters
400 5000009 An error occurred while processing the internal system. When a system error occurs Inquiry to Support > Contact us
400 5000020 Processing of [View or Change]/[SubAccount action name] SubAccount authentication failed. When the SubAccount permission doesn't exist Add permission to the account
400 5001005 The cluster is in another operation. Please try again after the existing work is completed. When calling a cluster that is already running Available after running is complete
400 5001022 Not a user-owned cluster. When a wrong cluster number entered Enter the correct cluster number
400 5001049 Network Interface does not have an IP that can be assigned. When subnet is insufficient Add subnet of VPC network
400 5001139 Contract restriction error. Creation limit is set. The cluster can no longer be created. Please contact customer support to modify the limit. When there is a restriction on creation limit Inquiry to Support > Contact us
400 5001269 The instance could not be found. When controlled for the deleted cluster Request again in the created cluster

Was this article helpful?