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:
Eli Collins 2012-08-17 23:26:55 +00:00
parent 18c5bc86ca
commit 54621c3776
2 changed files with 2 additions and 5 deletions

View File

@ -200,6 +200,8 @@ Branch-2 ( Unreleased changes )
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
HDFS-3042. Automatic failover support for NameNode HA (todd)

View File

@ -117,9 +117,4 @@ TrashPolicy getTrashPolicy() {
public Runnable getEmptier() throws IOException {
return trashPolicy.getEmptier();
}
/** Run an emptier.*/
public static void main(String[] args) throws Exception {
new Trash(new Configuration()).getEmptier().run();
}
}