getCloudHadoopMysqlInstanceList
    • PDF

    getCloudHadoopMysqlInstanceList

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    It searches the instance list of Cloud DB for MySQL (VPC) to be linked to the Cloud Hadoop Hive metastore.

    Request

    Request parameter

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoStringRegion code
    You can decide the region to test whether Hive metastore linkage is possible.
    You can obtain the regionCode through the getRegionList action.
    Default: Selects the first region of the getRegionList search results.
    cloudHadoopInstanceNoYesStringCloud Hadoop instance number that can be connected to the Cloud DB for MySQL (VPC) to be linked to the Hive metastore
    You can obtain the cloudHadoopInstanceNo through the getCloudHadoopInstanceList action.
    outputNoStringFormat type for the response result
    Options: xml | json
    Default: xml

    Response

    Response data type

    • CloudMysqlInstanceListForHiveMetaStore type
    CloudMysqlInstanceListForHiveMetaStore extends CommonResponse
    private Integer totalRows;
    private List<CloudMysqlInstanceForHiveMetaStore> cloudMysqlInstanceListForHiveMetaStore = new ArrayList<>();
    CloudMysqlInstanceForHiveMetaStore
    private String cloudMysqlInstanceNo;
    private String cloudMysqlInstanceName;
    private String vpcName;

    Examples

    Request example

    ncloud vhadoop getCloudHadoopMysqlInstanceList --regionCode KR --cloudHadoopInstanceNo 823***
    

    Response example

    <CloudMysqlInstanceListForHiveMetaStoreResponse>
        <requestId>f2386914-c6b3-432f-83d4-2884e9039cdb</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>2</totalRows>
        <cloudMysqlInstanceListForHiveMetaStore>
            <cloudMysqlInstanceForHiveMetaStore>
                <cloudMysqlInstanceNo>****855</cloudMysqlInstanceNo>
                <cloudMysqlInstanceName>****sc</cloudMysqlInstanceName>
                <vpcName>****-vpc-exercise</vpcName>
            </cloudMysqlInstanceForHiveMetaStore>
            <cloudMysqlInstanceForHiveMetaStore>
                <cloudMysqlInstanceNo>****222</cloudMysqlInstanceNo>
                <cloudMysqlInstanceName>****sds</cloudMysqlInstanceName>
                <vpcName>****-vpc-exercise</vpcName>
            </cloudMysqlInstanceForHiveMetaStore>
        </cloudMysqlInstanceListForHiveMetaStore>
    </CloudMysqlInstanceListForHiveMetaStoreResponse>
    

    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.