forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
2.8 KiB
2.8 KiB
Deleting an Object
You can delete unnecessary files one by one or in a batch on OBS Console to save space and money.
Procedure
- In the bucket list, click the bucket you want to operate. The Overview page of the bucket is displayed.
- In the navigation pane, choose Objects.
- Select the file you want to delete, and choose More > Delete on the right.
You can select multiple files and click Delete above the file list to batch delete the files.
- Click Yes to confirm the deletion.
The object deletion task is displayed in the Task Management window.
Important Notes
In big data scenarios, parallel file systems usually have deep directory levels and each directory has a large number of files. In such case, deleting directories from parallel file systems may fail due to timeout. To address this problem, you are advised to delete directories in either of the following ways:
- On the Hadoop client that has OBSA, an OBS client plugin, embedded, run the hadoop fs - rmr obs://{Name of a parallel file system}/{Directory name} command.
- Configure a lifecycle rule for directories so that they can be deleted in background based on the preset lifecycle rule.
Parent topic: Getting Started