getCloudHadoopMysqlUserList
    • PDF

    getCloudHadoopMysqlUserList

    • PDF

    Article summary

    Can be used in a VPC environment.

    Overview

    It searches the user 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.
    cloudMysqlInstanceNoYesStringInstance number of the Cloud DB for MySQL (VPC) to be linked to the Hive metastore
    You can only search the information for Cloud DB for MySQL (VPC) users with the DDL permission.
    You can obtain the cloudMysqlInstanceNo through the getCloudHadoopMysqlInstanceList action.
    outputNoStringFormat type for the response result
    Options: xml | json
    Default: xml

    Response

    Response data type

    • CloudMysqlUserListForHiveMetaStore
    CloudMysqlUserListForHiveMetaStore extends CommonResponse
    private Integer totalRows;
    private List<CloudMysqlUserForHiveMetaStore> cloudMysqlUserListForHiveMetaStore = new ArrayList<>();
    CloudMysqlUserForHiveMetaStore
    private String userName;
    private String hostIp;
    private String authority;

    Examples

    Request example

    ncloud vhadoop getCloudHadoopMysqlUserList --regionCode KR --cloudMysqlInstanceNo 823***
    

    Response example

    <CloudMysqlUserListForHiveMetaStoreResponse>
        <requestId>305113ee-d4b7-4709-805b-0a59aba07bc4</requestId>
        <returnCode>0</returnCode>
        <totalRows>1</totalRows>
        <cloudMysqlUserListForHiveMetaStore>
            <cloudMysqlUserForHiveMetaStore>
                <userName>****</userName>
                <hostIp>%</hostIp>
                <authority>DDL</authority>
            </cloudMysqlUserForHiveMetaStore>
        </cloudMysqlUserListForHiveMetaStore>
    </CloudMysqlUserListForHiveMetaStoreResponse>
    

    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.