--- title: "saveExternalHiveMetaStore" slug: "cli-vhadoop-saveexternalhivemetastore" tags: ["Cloud DB for MySQL", "Cloud Hadoop", "VPC"] updated: 2026-09-17T09:15:56Z published: 2026-09-17T09:15:56Z canonical: "cli.ncloud-docs.com/cli-vhadoop-saveexternalhivemetastore" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # saveExternalHiveMetaStore VPC 환경에서 이용 가능합니다. Cloud DB for MySQL에 Cloud Hadoop Hive 메타스토어를 연동합니다. ## 구문 `saveExternalHiveMetaStore` 구문은 다음과 같습니다. ``` ./ncloud vhadoop saveExternalHiveMetaStore \ --cloudHadoopInstanceNo \ --cloudMysqlInstanceNo \ --cloudMysqlUserName \ --cloudMysqlUserPassword \ [--regionCode ] \ [--output ] ``` ## 옵션 `saveExternalHiveMetaStore` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 필수 옵션 `saveExternalHiveMetaStore`의 필수 옵션입니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--cloudHadoopInstanceNo` | String | Required | 클러스터 인스턴스 번호 - [getCloudHadoopInstanceList](/docs/cli-vhadoop-getcloudhadoopinstancelist) 참조 | | `--cloudMysqlInstanceNo` | String | Required | Cloud DB for MySQL 인스턴스 번호 - [getCloudHadoopMysqlInstanceList](/docs/cli-vhadoop-getcloudhadoopmysqlinstancelist) 참조 | | `--cloudMysqlUserName` | String | Required | 데이터베이스 사용자 아이디 - [getCloudHadoopMysqlUserList](/docs/cli-vhadoop-getcloudhadoopmysqluserlist) 참조 | | `--cloudMysqlUserPassword` | String | Required | 데이터베이스 사용자 계정 비밀번호 - 영문자, 숫자, 특수문자를 조합하여 8~20자 이내로 입력 - 특수문자 `'` `"` ``` `&` `+` `/` `\` 및 공백 사용 불가 | ### 공통 옵션 `vhadoop` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Cloud Hadoop (VPC) 옵션](/docs/cli-vhadoop#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 Hive 메타스토어 연동 요청이 성공하면 요청 처리 결과가 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` ./ncloud vhadoop saveExternalHiveMetaStore \ --cloudHadoopInstanceNo 34567890 \ --cloudMysqlInstanceNo 56789012 \ --cloudMysqlUserName hiveuser \ --cloudMysqlUserPassword Examplepw123! \ --regionCode KR \ --output json ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "saveExternalHiveMetaStoreResponse": { "requestId": "3a4b5c6d-1e2f-0789-3456-abcdef0789ab", "returnCode": "0", "returnMessage": "success" } } ```