Available in VPC
Overview
Integrate a Cloud Hadoop Hive metastore to the Cloud DB for MySQL (VPC) database created in the user account.
For each cluster, you can only add one linked account in the form of USER_ID + HOST (IP).
Integration is only possible with MySQL 8.0.x, and is only supported when the Cloud DB for MySQL (VPC) status is Running.
When the TEST CONNECTION feature is performed, a database in the form of hive_*_CHadoop is created.
Only the DDL permission is supported for the metastore linked accounts.
You should add the ACG used in Cloud Hadoop to the Cloud DB for MySQL (VPC) ACG and allow all communication in advance for the integration to be set up successfully.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code
|
|
cloudHadoopInstanceNo | Yes | String | Cloud Hadoopinstance number
|
|
cloudMysqlInstanceNo | Yes | String | Cloud DB for MySQL (VPC) instance number to integrate Hive metastore with
|
|
cloudMysqlUserName | Yes | String | Cloud DB for MySQL (VPC) access username to integrate the Hive metastore with
|
|
cloudMysqlUserPassword | Yes | String | It must have at least one English letter, one special character, and one number. ` & + \ " ' / and spaces can't be used in passwords. Min: 8 Max: 20 |
Access user password of Cloud DB for MySQL (VPC) instance to integrate Hive metastore with |
output | No | String | Response result's format type
|
Examples
Call
ncloud vhadoop saveExternalHiveMetaStore --regionCode KR --cloudHadoopInstanceNo 821*** --cloudMysqlInstanceNo 823*** --cloudMysqlUserName test** --cloudMysqlUserPassword ******
Response
<saveExternalHiveMetaStoreResponse>
<requestId>65544ec3-8da6-4bf1-9b0c-5957d110bd42</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</saveExternalHiveMetaStoreResponse>