Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.3.0
-
Reviewed
Description
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
Attachments
Issue Links
- causes
-
HBASE-26543 correct parsing of hbase shell args with GetoptLong
-
- Resolved
-
-
HBASE-26469 correct HBase shell exit behavior to match code passed to exit
-
- Resolved
-
- links to