Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can I enable Trash/Recycle Bin in Hadoop?


What I have tried:

I was not being able to
enable Trash/Recycle Bin in Hadoop
Posted
Updated 16-Aug-18 2:16am

"To enable the trash feature and to set the time delay for the trash removal in Hadoop, we have to edit the fs.trash.interval property in core-site.xml to the delay (and this has to be in minutes).
Ex: if you want users to have 10 hours (600 minutes) to restore a deleted file, you should specify following configuration parameter in the core-site.xml and setting the value to 0 will disable the Trash feature.

<property>
<name>fs.trash.interval</name>
<value>600</value>
</property>
"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900