--- title: "Integrate Cloud DB for MySQL with external Hive Metastore (optional)" slug: "hadoop-vpc-12" tags: ["Cloud Hadoop", "VPC", "Cloud DB for MySQL"] updated: 2026-09-17T09:18:10Z published: 2026-09-17T09:18:10Z canonical: "guide.ncloud-docs.com/hadoop-vpc-12" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Integrate Cloud DB for MySQL with external Hive Metastore (optional) Available in VPC This guide introduces how to integrate NAVER Cloud Platform Cloud DB for MySQL with Cloud Hadoop's external Hive Metastore. ## Preparations 1. Create a Cloud Hadoop cluster. - For more information on how to create a Cloud Hadoop cluster, see [Getting started with Cloud Hadoop](/docs/en/hadoop-vpc-2). 2. Create Cloud DB for MySQL. - Make sure to create **MySQL 8.0.x version**, as integrations are only available in **MySQL 8.0.x version** - For more information on how to create Cloud DB for MySQL, see [Cloud DB for MySQL server creation guide](/docs/en/database-database-5-2#mysql-server-%EC%83%9D%EC%84%B1). 3. Set up an ACG. - In order to access Cloud DB for MySQL from Cloud Hadoop, enter Cloud Hadoop ACG in the access source of Cloud DB for MySQL ACG and allow all communication ports (1-65535). ![hadoop-vpc-12_pre_vpc_ko](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/hadoop-vpc-12_pre_vpc_en.png?sv=2026-02-06&spr=https&st=2026-10-27T18%3A01%3A32Z&se=2026-10-27T19%3A01%3A32Z&sr=c&sp=r&sig=GEEaY60qPuerQGZ9nrpJv0wec2pYchgrmnTYO5osTJs%3D) Note Cloud Hadoop and Cloud DB for MySQL must be created in the same VPC where communication is available. Caution Currently, integrations are only available in MySQL 8.0.x version. ## External Hive Metastore ### Integrate with external Hive Metastore Hive Metastore server uses DB storage to manage metadata. The default settings are configured to use MySQL installed within Cloud Hadoop. By using the external Hive Metastore integration method, Cloud DB for MySQL can be used by changing it to the metadata storage in the Hive Metastore server. You need to check whether there is a Hive Job in progress as the Hive Metastore server is automatically restarted according to the Metastore storage replacement task. The replacement of metadata storage does not include the transfer of existing metadata. To change to the external Metastore, follow these steps: ![hadoop-vpc-12_connect_vpc_ko](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/hadoop-vpc-12_connect_vpc_en.png?sv=2026-02-06&spr=https&st=2026-10-27T18%3A01%3A32Z&se=2026-10-27T19%3A01%3A32Z&sr=c&sp=r&sig=GEEaY60qPuerQGZ9nrpJv0wec2pYchgrmnTYO5osTJs%3D) 1. In the NAVER Cloud Platform console VPC environment, go to **Menu** > **All Services** > **Big Data & Analytics** > **Cloud Hadoop** in order. 2. After selecting a cluster to be integrated from the cluster list, click **[Manage clusters]** > **Integrate with external Hive Metastore** 3. After entering USER_ID and Password, click **[Test connection]**. - There may be restrictions on usage depending on the password plugin settings of Cloud DB for MySQL. You need to manage and integrate the Cloud DB for MySQL account in accordance with the Cloud Hadoop external Hive Metastore account policy. 4. After checking whether the test connection is normal, click **[Yes]**. - For a successful test connection, you need to perform the following items in advance: - After running the test connection, you can check the content of the console message to see whether it was successful. - Normal: the connection test result to Cloud DB for MySQL is normal. - ACG blocked: access to the DB Server from Cloud Hadoop is blocked. Edit the ACG settings in Cloud DB for MySQL. - Incorrect account ID and password: the account ID or password has been entered incorrectly. Enter the correct account name and password. - Failure to comply with password restrictions: the user password must contain a minimum of 8 letters and a maximum of 20 letters and must contain at least 1 English uppercase and lowercase letter, special character, and number. Special characters such as ', ", `, |, /, &, +, or space are not allowed. - Account DDL not in possession: the account you entered cannot perform DDL commands. Edit the DB permission as DDL. - When there is no DB creation procedure in Cloud DB for MySQL, database control is not smooth. Check whether the sys.ncp_create_db procedure is working properly. - When Cloud DB for MySQL is already integrated, the requested DB Service is currently integrated with Cloud Hadoop. Select another DB service. - When the master node is down: the status of Cloud Hadoop's master node is not normal. A server inspection is needed. - Unknown error: contact Customer service. - When Hive is deleted from the customer's cluster, Hive is not installed in Cloud Hadoop. Check the cluster. 5. Once the Hive Metastore integration task starts, the Status field in the cluster list or details becomes **Configuring** and then displays again as **Running** once the task is completed. ![hadoop-vpc-12_metastore_vpc_ko](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/hadoop-vpc-12_metastore_vpc_en.png?sv=2026-02-06&spr=https&st=2026-10-27T18%3A01%3A32Z&se=2026-10-27T19%3A01%3A32Z&sr=c&sp=r&sig=GEEaY60qPuerQGZ9nrpJv0wec2pYchgrmnTYO5osTJs%3D)