HADOOP-8710. Remove ability for users to easily run the trash emptire. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1374476 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
18c5bc86ca
commit
54621c3776
|
@ -200,6 +200,8 @@ Branch-2 ( Unreleased changes )
|
||||||
|
|
||||||
HADOOP-8689. Make trash a server side configuration option. (eli)
|
HADOOP-8689. Make trash a server side configuration option. (eli)
|
||||||
|
|
||||||
|
HADOOP-8710. Remove ability for users to easily run the trash emptire. (eli)
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
|
|
||||||
HDFS-3042. Automatic failover support for NameNode HA (todd)
|
HDFS-3042. Automatic failover support for NameNode HA (todd)
|
||||||
|
|
|
@ -117,9 +117,4 @@ public class Trash extends Configured {
|
||||||
public Runnable getEmptier() throws IOException {
|
public Runnable getEmptier() throws IOException {
|
||||||
return trashPolicy.getEmptier();
|
return trashPolicy.getEmptier();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Run an emptier.*/
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
new Trash(new Configuration()).getEmptier().run();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue