Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
When unacceptable value(like 2.3G or 70H) to LIMITĀ areĀ passed while setting quotas, we currently do not print any error message (informing the user about the erroneous input). Like below:
hbase(main):002:0> set_quota TYPE => SPACE, TABLE => 't2', LIMIT => '2.3G', POLICY => NO_WRITES Took 0.0792 seconds hbase(main):003:0> list_quotas OWNER QUOTAS TABLE => t2 TYPE => SPACE, TABLE => t2, LIMIT => 2B, VIOLATION_POLICY => NO_WRITES 1 row(s) Took 0.0512 seconds hbase(main):006:0> set_quota TYPE => SPACE, TABLE => 't2', LIMIT => '70H', POLICY => NO_WRITES Took 0.0088 seconds hbase(main):007:0> list_quotas OWNER QUOTAS TABLE => t2 TYPE => SPACE, TABLE => t2, LIMIT => 70B, VIOLATION_POLICY => NO_WRITES 1 row(s) Took 0.0448 seconds