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

SpaceQuota DisableTableViolationPolicy will cause cycles of enable/disable table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.2.1
    • 3.0.0-alpha-1, 2.3.0, 2.1.7, 2.2.2
    • None
    • Reviewed

    Description

      Space Quota: Policy state is getting changed from disable to Observance after sometime automatically.

      Steps:

      1: Create a table with space quota policy as Disable
      2: Put some data so that table state is in space quota violation
      3: So observe that table state is in violation
      4: Now wait for some time
      5: Observe that after some time table state is changing to to Observance however table is still disabled

      edit (elserj): The table is automatically moved back from the violation state because of the code added that tried to ride over RITs. When a Region is not online (whether normally or abnormally), the RegionSizeReports are not sent from RS to Master. Eventually, enough Regions are not reported which dips below the acceptable threshold and we automatically move the table back to the "acceptable" space quota state (not in violation). We could skip this failsafe when we're checking for a quota that has the DisableTable violation policy.

      Attachments

        Issue Links

          Activity

            People

              shardulsingh Shardul Singh
              a00408367 Ajeet Rai
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: