Since Hadoop 0.12, if you configure fs.trash.interval to a non-zero
value then 'bin/hadoop dfs -rm' will move things to a trash directory
instead of immediately removing them. The Trash is periodically emptied
of older items. Perhaps we should change the default value for this to
60 (one hour)?
Doug
Mathijs Homminga wrote:
Oops...
I executed the following command:
./hadoop dfs -rmr .
Everything on the DFS, including the trash seems to be deleted. Is there
a way to recover my data?
Thanks,
Mathijs