You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2011/03/09 21:40:59 UTC

[jira] Commented: (HADOOP-7176) Redesign FsShell

    [ https://issues.apache.org/jira/browse/HADOOP-7176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004786#comment-13004786 ] 

Olga Natkovich commented on HADOOP-7176:
----------------------------------------

Pig project uses FsShell to export HDFS commands to the users. Things that are important to us:

(1) Backward compatibility
(2) Better error handling. At this point if command fails it seems to always return -1 so we can't tell different problems apart.

> 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