云中漫步 发表于 2016-12-8 10:13:16

hadoop添加垃圾回收站 管用

hadoop添加垃圾回收站 管用

在core-site.xml中增加如下配置,表明rm后会在trash中保留多少分钟:

    <property>
    <name>fs.trash.interval</name>
    <value>10080</value>
    <description>
    Number of minutes between trash checkpoints. If zero, the trash feature is disabled
    </description>
    </property>
页: [1]
查看完整版本: hadoop添加垃圾回收站 管用