XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.2.0
    • 3.0.0-alpha-1, 2.2.0
    • None
    • None
    • Hide
      Provides a new throttle type: capacity unit. One read/write/request capacity unit represents that read/write/read+write up to 1K data. If data size is more than 1K, then consume additional capacity units.

      Use shell command to set capacity unit(CU):
      set_quota TYPE => THROTTLE, THROTTLE_TYPE => WRITE, USER => 'u1', LIMIT => '10CU/sec'

      Use the "hbase.quota.read.capacity.unit" property to set the data size of one read capacity unit in bytes, the default value is 1K. Use the "hbase.quota.write.capacity.unit" property to set the data size of one write capacity unit in bytes, the default value is 1K.
      Show
      Provides a new throttle type: capacity unit. One read/write/request capacity unit represents that read/write/read+write up to 1K data. If data size is more than 1K, then consume additional capacity units. Use shell command to set capacity unit(CU): set_quota TYPE => THROTTLE, THROTTLE_TYPE => WRITE, USER => 'u1', LIMIT => '10CU/sec' Use the "hbase.quota.read.capacity.unit" property to set the data size of one read capacity unit in bytes, the default value is 1K. Use the "hbase.quota.write.capacity.unit" property to set the data size of one write capacity unit in bytes, the default value is 1K.

    Description

      Add new throttle type: read/write capacity unit like DynamoDB.

      One read capacity unit represents that read up to 1K data per time unit. If data size is more than 1K, then consume additional read capacity units.

      One write capacity unit represents that one write for an item up to 1 KB in size per time unit. If data size is more than 1K, then consume additional write capacity units.

      For example, 100 read capacity units per second means that, HBase user can read 100 times for 1K data in every second, or 50 times for 2K data in every second and so on.

      Attachments

        1. HBASE-21034.branch-2.0.001.patch
          46 kB
          Guanghao Zhang
        2. HBASE-21034.branch-2.0.001.patch
          46 kB
          Yi Mei
        3. HBASE-21034.branch-2.1.001.patch
          46 kB
          Guanghao Zhang
        4. HBASE-21034.branch-2.1.001.patch
          46 kB
          Yi Mei
        5. HBASE-21034.master.001.patch
          33 kB
          Yi Mei
        6. HBASE-21034.master.002.patch
          42 kB
          Yi Mei
        7. HBASE-21034.master.003.patch
          42 kB
          Yi Mei
        8. HBASE-21034.master.004.patch
          42 kB
          Yi Mei
        9. HBASE-21034.master.005.patch
          43 kB
          Yi Mei
        10. HBASE-21034.master.006.patch
          43 kB
          Duo Zhang
        11. HBASE-21034.master.006.patch
          43 kB
          Yi Mei
        12. HBASE-21034.master.007.patch
          43 kB
          Guanghao Zhang
        13. HBASE-21034.master.007.patch
          43 kB
          Yi Mei

        Issue Links

          Activity

            People

              meiyi Yi Mei
              meiyi Yi Mei
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: