Perform automated data tiering
$vi <policy file> { "policy1" : { #1st Policy "name": "policy1", #Name of policy "path": "/data/path/to/scan", # Which path in HDFS to scan files "tag": "COLD", # what tag to put for file "retention": 180 # number of days since file is last accessed } }cd /opt/ldo python policy_app_runner <policy file> <database file name>0 0 * * 6 /opt/ldo/policy_manager.sh
Last updated
Was this helpful?

