hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-7176) Redesign FsShell
Date Wed, 09 Mar 2011 20:40:59 GMT

    [ 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

Mime
View raw message