Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 91755 invoked from network); 9 Mar 2011 21:06:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 21:06:23 -0000 Received: (qmail 19455 invoked by uid 500); 9 Mar 2011 21:06:23 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 19418 invoked by uid 500); 9 Mar 2011 21:06:23 -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 19410 invoked by uid 99); 9 Mar 2011 21:06:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 21:06:23 +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, 09 Mar 2011 21:06:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A643F3A1F09 for ; Wed, 9 Mar 2011 21:05:59 +0000 (UTC) Date: Wed, 9 Mar 2011 21:05:59 +0000 (UTC) From: "Daryn Sharp (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <831096708.9143.1299704759677.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=13004797#comment-13004797 ] Daryn Sharp commented on HADOOP-7176: ------------------------------------- Definitively maintaining backwards compatibility. Let's discuss #2 offline. > 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 > 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