Click here to Skip to main content
13,904,914 members
Rate this:
Please Sign up or sign in to 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
Updated 16-Aug-18 2:16am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

"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.


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190306.1 | Last Updated 16 Aug 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100