如何在hadoop中启用垃圾桶/回收站? [英] How to enable trash/recycle bin in hadoop?

查看:172
本文介绍了如何在hadoop中启用垃圾桶/回收站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

推荐答案

启用垃圾桶/回收Bin in Hadoop - Google搜索 [ ^ ]


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


这篇关于如何在hadoop中启用垃圾桶/回收站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆