Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FCA332DE for ; Wed, 4 May 2011 13:56:45 +0000 (UTC) Received: (qmail 74602 invoked by uid 500); 4 May 2011 13:56:45 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 74491 invoked by uid 500); 4 May 2011 13:56:45 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 74483 invoked by uid 99); 4 May 2011 13:56:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2011 13:56:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD 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; Wed, 04 May 2011 13:56: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 83F9CC1B52 for ; Wed, 4 May 2011 13:56:03 +0000 (UTC) Date: Wed, 4 May 2011 13:56:03 +0000 (UTC) From: "Daryn Sharp (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <294652392.21656.1304517363536.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1991821639.8902.1299699839419.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7176) Redesign FsShell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028751#comment-13028751 ] Daryn Sharp commented on HADOOP-7176: ------------------------------------- This bug is implicitly fixing bugs in all the commands regarding handling of globs and exit codes of 0 when multiple args and/or globs are supplied and have errors. If anyone has available time, I'd like to please request reviews for the linked bugs. Thanks in advance. > Redesign FsShell > ---------------- > > Key: HADOOP-7176 > URL: https://issues.apache.org/jira/browse/HADOOP-7176 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.22.0 > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Fix For: 0.22.0 > > > The FsShell commands are very tightly coupled together which makes it necessarily hard to write new commands. There is a lot of redundancy between the commands, inconsistencies in handling of paths, handling of errors, and correct return of exit codes. The FsShell commands should be subclasses of the fs.shell.Command class which is already being used by the -count command, and is used by other commands like dfsadmin. > This will serve as an umbrella bug to track the changes. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira