All Products
Search
Document Center

E-MapReduce:Data management policies

Last Updated:Mar 26, 2026

JindoFS in block storage mode lets you control where data is stored and whether it is compressed, at the directory level. Two policy types are available: storage policies and compression policies. Policies apply only to newly written files — existing files in the directory are not affected.

Storage policies

JindoFS provides five storage policies to cover a range of hot-to-cold data scenarios.

PolicyWhere data is storedCache behaviorBest for
HOTOSS + localLocal copy is locked and never evictedHottest data requiring the fastest read access
WARMOSS + localLocal copy is evicted when cache is clearedFrequently accessed data that benefits from local acceleration (default)
COLDOSS (Standard)No local copyData that is rarely accessed but must remain available
IAOSS (Infrequent Access (IA))No local copyData accessed infrequently
AROSS (Archive)No local copyData that is no longer active and needs long-term archival
WARM is the default storage policy. HOT provides better read acceleration than WARM because its local copy is never automatically evicted.

For details on OSS storage classes, see Overview.

Set a storage policy

jindo jfs -setStoragePolicy [-R] <StoragePolicy>(AR/IA/COLD/WARM/HOT) <path> ...
ParameterDescription
-R(Optional) Apply the policy recursively to all subdirectories under <path>
<StoragePolicy>The policy to apply: AR, IA, COLD, WARM, or HOT
<path>The directory to configure

Get the storage policy for a directory

jindo jfs -getStoragePolicy <path>
ParameterDescription
<path>The directory whose storage policy you want to check

Compression policies

JindoFS can compress data blocks before storing them, reducing storage space and improving data read and write efficiency. Compression is most effective for file types with a high compression ratio.

PolicyDescription
NONENo compression (default)
ZSTDCompresses data blocks using the Zstandard algorithm

Set a compression policy

jindo jfs -setCompressionPolicy [-R] <CompressionPolicy>(NONE/ZSTD) <path> ...
ParameterDescription
-R(Optional) Apply the policy recursively to all subdirectories under <path>
<CompressionPolicy>The policy to apply: NONE or ZSTD
<path>The directory to configure

Get the compression policy for a directory

jindo jfs -getCompressionPolicy <path> ...
ParameterDescription
<path>The directory whose compression policy you want to check