[
https://issues.apache.org/jira/browse/HDFS-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HDFS-5174:
------------------------------
Description: Right now, DFSAdmin uses an array of different techniques to
do parsing of command line arguments and displaying help text. It'd be better
to unify everything to use a standard library like Commons CLI or JCommander,
which should clean up the file and reduce the amount of custom code we're
carrying. (was: Right now, DFSAdmin uses an array of different techniques to
do parsing of command line arguments and displaying help text. It'd be better
to unify everything to use a standard library like Commons CLI, which should
clean up the file and reduce the amount of custom code we're carrying.)
Summary: Convert DFSAdmin to use a standard library for parsing
arguments (was: Convert DFSAdmin to use Commons CLI for parsing arguments)
Hey Steve, I hadn't heard of JCommander before, but it does look nice. I edited
the JIRA to sound more generic; honestly, choice of library is up to whoever
wants to take this on :)
> Convert DFSAdmin to use a standard library for parsing arguments
> ----------------------------------------------------------------
>
> Key: HDFS-5174
> URL: https://issues.apache.org/jira/browse/HDFS-5174
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 2.1.0-beta
> Reporter: Andrew Wang
> Labels: newbie
>
> Right now, DFSAdmin uses an array of different techniques to do parsing of
> command line arguments and displaying help text. It'd be better to unify
> everything to use a standard library like Commons CLI or JCommander, which
> should clean up the file and reduce the amount of custom code we're carrying.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira