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:
parent
7da3b52623
commit
5eebedb974
|
@ -9,6 +9,8 @@ Release 2.0.1-alpha - UNRELEASED
|
|||
|
||||
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
|
||||
|
||||
HDFS-3042. Automatic failover support for NameNode HA (todd)
|
||||
|
|
|
@ -117,9 +117,4 @@ public class Trash extends Configured {
|
|||
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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue