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

Laxman Goswami commented on HBASE-24772:
----------------------------------------

I have added some changes , and also tested the change I was able to test the 
the code on my box

opening my opening 
{code:java}
╰─$ ./hbase shell
2021-02-01 16:24:58,317 WARN  [main] util.NativeCodeLoader: Unable to load 
native-hadoop library for your platform... using builtin-java classes where 
applicable
HBase Shell
Use "help" to get list of supported commands.
Use "exit" to quit this interactive shell.
For Reference, please visit: http://hbase.apache.org/book.html#shell
Version 3.0.0-SNAPSHOT, r4e6dc4709894cf32b79a8a961aa02ed0bfb7675d, Mon Feb  1 
15:53:26 IST 2021
Took 0.0019 seconds
hbase:001:0>
hbase:002:0>
hbase:003:0>


{code}
FYI

[~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
>
> 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)

Reply via email to