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

Space quota change after quota violation doesn't seem to take in effect

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • 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. 

      Attachments

        1. HBASE-20588.master.001.patch
          3 kB
          Nihal Jain
        2. HBASE-20588.master.002.patch
          7 kB
          Nihal Jain
        3. HBASE-20588.master.003.patch
          11 kB
          Nihal Jain
        4. HBASE-20588.master.004.patch
          11 kB
          Nihal Jain
        5. HBASE-20588.master.005.patch
          11 kB
          Nihal Jain

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nihaljain.cs Nihal Jain
            gsbiju Biju Nair
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment