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 "Tanping Wang (JIRA)" <ji...@apache.org> on 2011/04/13 19:36:05 UTC

[jira] [Commented] (HADOOP-7224) Add command factory to FsShell

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

Tanping Wang commented on HADOOP-7224:
--------------------------------------

+1.  Dyran explained to me how
{code}
  public void registerCommands(Class<?> registrarClass)
{code}
in CommandFactory.java is planned to be used and the reason why it is needed.  I think it is a good idea. Please clarify here on the Jira.

> Add command factory to FsShell
> ------------------------------
>
>                 Key: HADOOP-7224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7224
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-7224.patch
>
>
> The FsShell has many chains if/then/else chains for instantiating and running commands.  A dynamic mechanism is needed for registering commands such that FsShell requires no changes when adding new commands.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira