You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2021/02/09 05:17:00 UTC

[jira] [Resolved] (HBASE-24772) Use GetoptLong or OptionParser in hbase-shell

     [ https://issues.apache.org/jira/browse/HBASE-24772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Stack resolved HBASE-24772.
-----------------------------------
    Fix Version/s: 2.5.0
                   3.0.0-alpha-1
     Hadoop Flags: Reviewed
       Resolution: Fixed

Merged. Thanks for the nice patch [~lgoswami] (and review [~vjasani])

> Use GetoptLong or OptionParser in hbase-shell
> ---------------------------------------------
>
>                 Key: HBASE-24772
>                 URL: https://issues.apache.org/jira/browse/HBASE-24772
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 3.0.0-alpha-1, 2.3.0
>            Reporter: Elliot Miller
>            Assignee: Laxman Goswami
>            Priority: Minor
>              Labels: beginner-friendly
>             Fix For: 3.0.0-alpha-1, 2.5.0
>
>
> Currently, our hbase-shell command line argument parser is custom-rolled. It would be awesome to instead use Ruby's GetoptLong or OptionParser.
>  * [https://ruby-doc.org/stdlib-2.3.0/libdoc/getoptlong/rdoc/GetoptLong.html]
>  * [https://ruby-doc.org/stdlib-2.3.0/libdoc/optparse/rdoc/OptionParser.html]
> There is a long-standing {{FIXME}} comment in {{bin/hirb.rb}} to address this: [https://github.com/apache/hbase/blob/975cdf7b88f001aa51d83395c663892f3b5ffbdb/bin/hirb.rb#L50]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)