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

Fix bin/hbase thrift usage text

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-beta-2
    • 2.0.0
    • None
    • None
    • Reviewed
    • Cleanup usage message and command-line processing (no functional change).

    Description

      1. Thrift server usage text does not say anything about it requires a start or stop argument.
      2. It ignores stop argument, it acts as the same as for start.

      According to this comment:

      // This is so complicated to please both bin/hbase and bin/hbase-daemon.
      // hbase-daemon provides "start" and "stop" arguments
      // hbase should print the help if no argument is provided
      

      start and stop is just supported because bin/hbase-daemon, but hbase-daemon kills the process instead of calling it with a stop argument.

      Attachments

        1. HBASE-20358.branch-2.0.001.patch
          7 kB
          Balazs Meszaros

        Activity

          People

            meszibalu Balazs Meszaros
            meszibalu Balazs Meszaros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: