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

list_quotas should print human readable values for LIMIT

    XMLWordPrintableJSON

Details

    Description

      The list_quotas command should print human readable values for LIMIT. For e.g. In the below case, printing LIMIT => 3G is better than printing LIMIT => 3221225472

      hbase(main):006:0> set_quota TYPE => SPACE, TABLE => 't2', LIMIT => '3G', POLICY => NO_WRITES
      Took 0.0132 seconds
      hbase(main):007:0> list_quotas
      OWNER                          QUOTAS
       TABLE => t2                   TYPE => SPACE, TABLE => t2, LIMIT => 3221225472, VIOLATION_POLICY => NO_WRITES
      1 row(s)
      Took 0.0281 seconds
       

      Attachments

        1. hbase-21631.master.001.patch
          2 kB
          Sakthi
        2. hbase-21631.master.addendum.patch
          1 kB
          Sakthi
        3. Screen Shot 2018-12-23 at 9.48.40 PM.png
          179 kB
          Michael Stack
        4. Screen Shot 2018-12-23 at 9.53.00 PM.png
          191 kB
          Michael Stack

        Issue Links

          Activity

            People

              sakthi Sakthi
              sakthi Sakthi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: