Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26543

correct parsing of hbase shell args with GetoptLong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.5.0
    • 2.5.0, 3.0.0-alpha-3
    • shell
    • None

    Description

      shell cli arg parsing is broken:

      • debug is eating a possible arg
      • -D handling is consuming part of ARGV without declaring it
      • -Dfoo=bar no longer works
      • non-interactive mode is eating a possible arg
      • top level definitions is eating a possible arg
      • script2run is being ignored entirely

      Attachments

        Issue Links

          Activity

            People

              busbey Sean Busbey
              busbey Sean Busbey
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: