HADOOP-8710. Remove ability for users to easily run the trash emptier. Contributed by Eli Collins

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1374477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-08-17 23:27:50 +00:00
parent 7da3b52623
commit 5eebedb974
2 changed files with 2 additions and 5 deletions

View File

@ -9,6 +9,8 @@ Release 2.0.1-alpha - UNRELEASED
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 emptier. (eli)
NEW FEATURES NEW FEATURES
HDFS-3042. Automatic failover support for NameNode HA (todd) HDFS-3042. Automatic failover support for NameNode HA (todd)

View File

@ -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();
}
} }