Return-Path: Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: (qmail 23166 invoked from network); 25 Mar 2011 00:18:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Mar 2011 00:18:44 -0000 Received: (qmail 82883 invoked by uid 500); 25 Mar 2011 00:18:43 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 82753 invoked by uid 500); 25 Mar 2011 00:18:43 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 82677 invoked by uid 99); 25 Mar 2011 00:18:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2011 00:18:43 +0000 X-ASF-Spam-Status: No, hits=-1999.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2011 00:18:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D98364C4FF for ; Fri, 25 Mar 2011 00:18:05 +0000 (UTC) Date: Fri, 25 Mar 2011 00:18:05 +0000 (UTC) From: "Olga Natkovich (JIRA)" To: mapreduce-dev@hadoop.apache.org Message-ID: <507328962.10324.1301012285887.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAPREDUCE-2404) Extensions to FsShell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Extensions to FsShell --------------------- Key: MAPREDUCE-2404 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2404 Project: Hadoop Map/Reduce Issue Type: Improvement Affects Versions: 0.20.3 Reporter: Olga Natkovich Our project, Pig, exposes FsShell functionality to our end users through a shell command. We want to use this command with no modifications to make sure that whether you work with HDFS through Hadoop or Pig you get identical semantics. The main concern that has been recently raised by our users is that there is no way to ignore certain failures that they consider to be benign, for instance, removing a non-existent directory. We have 2 asks related to this issue: (1) Meaningful error code returned from FsShell (we use java class) so that we can take different actions on different errors (2) Unix like ways to tell the command to ignore certain behavior. Here are the commands that we would like to be expanded/implemented: * rm -f * rmdir ---ignore-fail-on-non-empty * mkdir -p -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira