Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC82ED9EE for ; Fri, 17 Aug 2012 18:47:41 +0000 (UTC) Received: (qmail 82285 invoked by uid 500); 17 Aug 2012 18:47:38 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 82115 invoked by uid 500); 17 Aug 2012 18:47:38 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 81872 invoked by uid 99); 17 Aug 2012 18:47:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2012 18:47:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0FF882C5BE5 for ; Fri, 17 Aug 2012 18:47:38 +0000 (UTC) Date: Sat, 18 Aug 2012 05:47:38 +1100 (NCT) From: "Eli Collins (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <210942219.24693.1345229258066.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (HADOOP-8710) Remove ability for users to easily run the trash emptier MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Eli Collins created HADOOP-8710: ----------------------------------- Summary: 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: 2.0.0-alpha, 1.0.0 Reporter: Eli Collins Assignee: Eli Collins 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