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

[hbtop] Support Batch mode

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.4.0, 2.2.7, 2.3.2
    • hbtop
    • None
    • Reviewed
    • Hide
      HBASE-24776 added the following command line parameters to hbtop:
      | Argument | Description |
      |---|---|
      | -n,--numberOfIterations <arg> | The number of iterations |
      | -O,--outputFieldNames | Print each of the available field names on a separate line, then quit |
      | -f,--fields <arg> | Show only the given fields. Specify comma separated fields to show multiple fields |
      | -s,--sortField <arg> | The initial sort field. You can prepend a `+' or `-' to the field name to also override the sort direction. A leading `+' will force sorting high to low, whereas a `-' will ensure a low to high ordering |
      | -i,--filters <arg> | The initial filters. Specify comma separated filters to set multiple filters |
      | -b,--batchMode | Starts hbtop in Batch mode, which could be useful for sending output from hbtop to other programs or to a file. In this mode, hbtop will not accept input and runs until the iterations limit you've set with the `-n' command-line option or until killed |
      Show
      HBASE-24776 added the following command line parameters to hbtop: | Argument | Description | |---|---| | -n,--numberOfIterations <arg> | The number of iterations | | -O,--outputFieldNames | Print each of the available field names on a separate line, then quit | | -f,--fields <arg> | Show only the given fields. Specify comma separated fields to show multiple fields | | -s,--sortField <arg> | The initial sort field. You can prepend a `+' or `-' to the field name to also override the sort direction. A leading `+' will force sorting high to low, whereas a `-' will ensure a low to high ordering | | -i,--filters <arg> | The initial filters. Specify comma separated filters to set multiple filters | | -b,--batchMode | Starts hbtop in Batch mode, which could be useful for sending output from hbtop to other programs or to a file. In this mode, hbtop will not accept input and runs until the iterations limit you've set with the `-n' command-line option or until killed |

    Description

      Similar to Unix's 'top' command, we can support Batch mode that allows us to send hbtop command output to other programs or to a file.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              brfrn169 Toshihiro Suzuki
              brfrn169 Toshihiro Suzuki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: