saveExternalHiveMetaStore
    • PDF

    saveExternalHiveMetaStore

    • PDF

    Article summary

    Available in VPC

    Overview

    Connect the Cloud Hadoop Hive metastore to the Cloud DB for MySQL (VPC) database created in a user account.

    Only 1 connected account per cluster can be added in the unit of USER_ID + HOST (IP).

    Connection is available only in MySQL version 5.7.x and the feature is supported only when Cloud DB for MySQL (VPC) is in operation.
    When performing the test connection feature, a database in the form of hive_*_CHadoop is created.
    The metastore connected account supports only the DDL permission.

    For preparations, ACGs used in Cloud Hadoop need to be added to Cloud DB for MySQL (VPC) ACG and all communications need to be allowed for valid connections.

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    - Able to determine a region to be connected to the Hive metastore
    - A regionCode can be obtained by the getRegionList action.
    - Select the first region from the Default: getRegionList query result
    cloudHadoopInstanceNoYesString- The instance number of Cloud Hadoop
    - The cloudHadoopInstanceNo can be obtained by the getCloudHadoopInstanceList action.
    cloudMysqlInstanceNoYesString- The instance number of Cloud DB for MySQL (VPC) to be connected to the Hive metastore
    - The cloudMysqlInstanceNo can be obtained by the getCloudHadoopMysqlInstanceList action.
    cloudMysqlUserNameYesString- Access user name of Cloud DB for MySQL (VPC) to be connected to the Hive metastore
    - The cloudMysqlUserName can be obtained by the getCloudHadoopMysqlUserList action.
    cloudMysqlUserPasswordYesString- Access user password of Cloud DB for MySQL (VPC) to be connected to the Hive metastore
    - The cloudMysqlUserPassword can be obtained by the getCloudHadoopMysqlUserList action.
    outputNoString- Format type of response result
    - Options: xml | json
    - Default: xml

    Examples

    Call

    ncloud vhadoop saveExternalHiveMetaStore --regionCode KR --cloudHadoopInstanceNo 821***  --cloudMysqlInstanceNo 823*** --cloudMysqlUserName test** --cloudMysqlUserPassword ******
    

    Responses

    <saveExternalHiveMetaStoreResponse>
        <requestId>65544ec3-8da6-4bf1-9b0c-5957d110bd42</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
    </saveExternalHiveMetaStoreResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.