getCloudHadoopObjectList
    • PDF

    getCloudHadoopObjectList

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    It searches the file list of Object Storage buckets available in Cloud Hadoop.

    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.
    bucketNameYesStringBucket name
    Refers to the space for saving data in Object Storage.
    You can obtain the bucketName through the getCloudHadoopInstanceList action.
    prefixNoStringPrefix of the object name to search
    Limits the response to object names starting with the prefix.
    delimiterNoStringPosition separator of the object structure
    Binds the objects between the prefix and delimiter together.
    maxKeysNoStringLimits the number of objects to be displayed in the response.
    markerNoStringSpecifies objects from place where the list should start, in the UTF-8 binary order.
    outputNoStringFormat type for the response result
    Options: xml | json
    Default: xml

    Response

    Response data type

    • CloudHadoopObjectList type
    CloudHadoopObjectList extends CommonResponse
    private Integer totalRows;
    private String marker;
    private String nextMarker;
    private List<String> commonPrefixList;
    private List<CloudHadoopObject> cloudHadoopObjectList = new ArrayList<>();
    CloudHadoopObjectList
    private String key;
    private Date lastModified;
    private Long size;

    Examples

    Request example

    ncloud vhadoop getCloudHadoopObjectList  --regionCode KR --bucketName test***
    

    Response example

    <getCloudHadoopObjectListResponse>
        <requestId>d3b26cc2-d47e-4a97-9e9b-468dac851fb4</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>2</totalRows>
        <commonPrefixList/>
        <cloudHadoopObjectList>
            <cloudHadoopObject>
                <key>20210916-dasd002.backup.tar.gz</key>
                <lastModified>2021-09-16T14:45:23+0900</lastModified>
                <size>10142</size>
            </cloudHadoopObject>
            <cloudHadoopObject>
                <key>CONFIG-BACKUP/</key>
                <lastModified>2021-11-09T18:08:23+0900</lastModified>
                <size>0</size>
            </cloudHadoopObject>
        </cloudHadoopObjectList>
    </getCloudHadoopObjectListResponse>
    

    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.