Before you enable the OSS-HDFS service, you need to understand the relationships between the OSS-HDFS service and features of Object Storage Service (OSS). This way, you can properly use the OSS-HDFS service and prevent data loss.
.dlsdata/
directory in which OSS-HDFS data is stored. To ensure the availability of the OSS-HDFS
service or prevent data loss, do not perform write operations on the .dlsdata/
directory or on objects in the directory by using methods that are not supported
by the OSS-HDFS service. For example, do not perform the following write operations:
rename the directory, delete the directory, and delete objects.
The following table describes the risks that you need to take note of before you enable
the OSS-HDFS service and use OSS features to perform write operations on the .dlsdata/
directory.
OSS feature | Risk | Description | References |
---|---|---|---|
Retention policy | Data cannot be deleted. |
We recommend that you do not enable the OSS-HDFS service and configure retention policies for a bucket at the same time. If you enable the OSS-HDFS service and configure a retention policy for a bucket,
and then delete data from the |
Retention policies |
Lifecycle rule | Data is lost. |
To configure or modify a lifecycle rule to match all objects in a bucket for which
the OSS-HDFS service is enabled, use the NOT element to exclude the objects that are
stored in the ![]() |
|
Versioning | Data cannot be automatically deleted. |
We recommend that you do not enable the OSS-HDFS service and versioning for a bucket at the same time. If you enable versioning for a bucket with the OSS-HDFS service enabled, data that
is overwritten or deleted is saved as previous versions. When you overwrite or delete
data in the In this case, you can specify version IDs to delete previous versions of objects from
the |
|
Delete directories | Data is lost. |
To ensure the availability of the OSS-HDFS service or prevent data loss, do not delete
the |
Delete directories |
Delete objects | Data is lost. |
To ensure the availability of the OSS-HDFS service or prevent data loss, do not delete
objects from the |
Delete objects |
Rename directories | Data is lost. |
To ensure the availability of the OSS-HDFS service or prevent data loss, do not rename
the |
Rename directories |
Rename objects | Data is lost. |
To ensure the availability of the OSS-HDFS service or prevent data loss, do not rename
objects in the |
Rename objects |
Upload objects | Data is lost. |
To ensure the availability of the OSS-HDFS service or prevent data loss, do not upload
objects by using methods that are not supported by the OSS-HDFS service to the |
Simple upload |
Change the storage classes of objects | Data cannot be accessed and billing rules change. |
We recommend that you do not change the storage classes of objects in the If you change the storage class of an object in the If you change the storage class of an object to IA, Archive, or Cold Archive, you are charged storage fees based on the object size and storage duration when you access the IA object, or storage fees based on the object size and storage duration and data retrieval fees when you access the Archive or Cold Archive object. If the object size is smaller than 64 KB and the object is stored for a period of time that is shorter than the minimum storage duration, the minimum billable size 64 KB and the minimum storage duration are used for billing. |
|
Bucket policy | Data cannot be accessed. |
You can configure a bucket policy to authorize other users to access specified resources that are stored in a bucket for which the OSS-HDFS service is enabled. When you configure a bucket policy that takes effect on the entire bucket, you cannot
set Authorized Operation to None. This helps ensure that users who use the OSS-HDFS service can access the |
Overview |
Resource Access Management (RAM) | Data cannot be accessed. |
When you enable the OSS-HDFS service for a bucket, the |
Enable OSS-HDFS and grant access permissions |
Bucket inventory | Data is contaminated. |
To ensure the availability of the OSS-HDFS service or prevent data from being contaminated,
do not set Inventory List Path to |
Bucket inventory |
Logging | Data is contaminated. |
To ensure the availability of the OSS-HDFS service or prevent data from being contaminated,
do not set Log Prefix to |
Configure logging |
ZIP package decompression | Data is contaminated or lost. |
To ensure the availability of the OSS-HDFS service or prevent data loss or data from
being contaminated, do not set Destination Directory to |
Configure decompression rules for ZIP packages |