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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2016/03/17 14:11:33 UTC

[jira] [Commented] (HADOOP-12930) [Umbrella] Dynamic subcommands for hadoop shell scripts

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

Allen Wittenauer commented on HADOOP-12930:
-------------------------------------------

It is extremely desirable to be able to add subcommands to the hadoop, etc, commands dynamically. There are several reasons to do this:

* Enable local variants of subcommands without worrying about breaking existing scripts.  For example, distcp has historically been replaced with local versions for various reasons.
* Allows for greater testing capabilities
* Possibility of 3rd party/external-to-hadoop being allowed to add capabilities and take advantage of the rich shell environment

In order to accomplish this, a few things need to take place:
* make some shell-local globals to be 'safe' globals that can span past their borders
* define an API by which 3rd parties may add and override existing commands
* get HADOOP-12857 committed for some pre-work

> [Umbrella] Dynamic subcommands for hadoop shell scripts
> -------------------------------------------------------
>
>                 Key: HADOOP-12930
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12930
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>
> Umbrella for converting hadoop, hdfs, mapred, and yarn to allow for dynamic subcommands. See first comment for more details.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)