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

New space quota policy doesn't take effect if quota policy is changed after violation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None

    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

          Activity

            People

              Unassigned Unassigned
              a00408367 Ajeet Rai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: