Click here to Skip to main content
13,733,721 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
Posted 10-Aug-18 2:05am
Updated 16-Aug-18 2:16am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
 
good
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.

<property>
<name>fs.trash.interval</name>
<value>600</value>
</property>
"
  Permalink  

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
Web01-2016 | 2.8.180920.1 | Last Updated 16 Aug 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

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