Description
Steps to reproduce
1: set_quota TYPE => SPACE, TABLE => 'test25', LIMIT => '2M', POLICY => NO_WRITES
2: ./hbase pe --table="test25" --nomapred --rows=300 sequentialWrite 10
3: Observe that after some time data usage is 3 mb and policy is in violation
4: now try to insert some data again in the table and observe that operation fails due to NoWritesViolationPolicyEnforcement
5: Now change the quota policy
set_quota TYPE => SPACE, TABLE => 'test25', LIMIT => '2M', POLICY => NO_WRITES_COMPACTIONS
6: Now again try to insert data once new policy takes effect
7: Observe that still operation fails but because of old policy and not new policy.
Attachments
Issue Links
- duplicates
-
HBASE-20662 Increasing space quota on a violated table does not remove SpaceViolationPolicy.DISABLE enforcement
- Resolved