getCloudHadoopObjectList
- Print
- PDF
getCloudHadoopObjectList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region 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. | |
bucketName | Yes | String | Bucket name Refers to the space for saving data in Object Storage. You can obtain the bucketName through the getCloudHadoopInstanceList action. | |
prefix | No | String | Prefix of the object name to search Limits the response to object names starting with the prefix. | |
delimiter | No | String | Position separator of the object structure Binds the objects between the prefix and delimiter together. | |
maxKeys | No | String | Limits the number of objects to be displayed in the response. | |
marker | No | String | Specifies objects from place where the list should start, in the UTF-8 binary order. | |
output | No | String | Format 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?