Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.0.0
-
Reviewed
Description
Steps followed
- Through hbase shell
set_quota TYPE => SPACE, TABLE => 'TestTable', LIMIT => '2M', POLICY => NO_INSERTS
- Run PE until the quota is reached
hbase org.apache.hadoop.hbase.PerformanceEvaluation --nomapred --rows=20000000 sequentialWrite 1
- Through HBase shell
set_quota TYPE => SPACE, TABLE => 'TestTable', LIMIT => NONE
- Through HBase shell verify the effective Quotas
> list_quotas OWNER QUOTAS 0 row(s) Took 0.0365 seconds
- Wait for some time (at least 5 mins) and try to add data to the table
> put 'TestTable','r1','info0:0','v1' ERROR: org.apache.hadoop.hbase.quotas.SpaceLimitingException: NO_INSERTS Puts are disallowed due to a space quota. at org.apache.hadoop.hbase.quotas.policies.NoInsertsViolationPolicyEnforcement.check(NoInsertsViolationPolicyEnforcement.java:47)
To resolve the issue, RSes need to be restarted which points to in memory data not getting reset.