Support Questions
Find answers, ask questions, and share your expertise

Define Retention policy to delete data

Define Retention policy to delete data

Explorer

I need a policy in Ranger or some other component which would delete my data automatically after a set period. How can I do that in Ranger ? I didn't see any examples where I could define a way to delete content from HDFS path automatically.

2 REPLIES 2

Re: Define Retention policy to delete data

@Harjit Singh

Ranger cannot perform this tasks.

Apache Falcon is the one which can do work (however Falcon is deprecated as of HDP2.6.5 and DLM has these features now):

Ref: https://falcon.apache.org/FalconDocumentation.html#Retention

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_data-movement-and-integration/content/ch...

Hope this helps.

Re: Define Retention policy to delete data

Explorer

Thanks for the answer that helps