[
https://issues.apache.org/jira/browse/HADOOP-12249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14634498#comment-14634498
]
Allen Wittenauer edited comment on HADOOP-12249 at 7/21/15 4:12 AM:
--------------------------------------------------------------------
-00:
* hadoop-config.sh argument parsing moved to hadoop-functions hadoop_parse_args
* reworked hadoop_usage everywhere so that main entry points can advertise
exactly which options they support rather than using the generic one
* moved actual, global options into hadoop_parse args
* moved the column create code into a separate function so that both options
and subcommands can get columnizated.
was (Author: aw):
-00:
* hadoop-config.sh argument parsing moved to hadoop-functions hadoop_parse_args
* reworked hadoop_usage everywhere so that main entry points can advertise
exactly which options they support rather than using the generic one
* moved actual, global options into hadoop_parse args
> pull argument parsing into a function
> -------------------------------------
>
> Key: HADOOP-12249
> URL: https://issues.apache.org/jira/browse/HADOOP-12249
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 3.0.0
> Reporter: Allen Wittenauer
> Assignee: Allen Wittenauer
> Labels: scripts, shell
> Attachments: HADOOP-12249.00.patch
>
>
> In order to enable significantly better unit testing as well as enhanced
> functionality, large portions of *-config.sh should be pulled into functions.
> See first comment for more.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)