[
https://issues.apache.org/jira/browse/HADOOP-8710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437146#comment-13437146
]
Hudson commented on HADOOP-8710:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #2601 (See
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2601/])
HADOOP-8710. Remove ability for users to easily run the trash emptire.
Contributed by Eli Collins (Revision 1374476)
Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374476
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
> Remove ability for users to easily run the trash emptier
> --------------------------------------------------------
>
> Key: HADOOP-8710
> URL: https://issues.apache.org/jira/browse/HADOOP-8710
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 1.0.0, 2.0.0-alpha
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 2.2.0-alpha
>
> Attachments: hadoop-8710.txt
>
>
> Users can currently run the emptier via {{hadoop
> org.apache.hadoop.fs.Trash}}, which seems error prone as there's nothing in
> that command that suggests it runs the emptier and nothing that asks you
> before deleting the trash for all users (that the current user is capable of
> deleting). Given that the trash emptier runs server side (eg on the NN) let's
> remove the ability to easily run it client side. Marking as an incompatible
> change since someone expecting the hadoop command with this class specified
> to empty trash will no longer be able to (they'll need to create their own
> class that does this).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira