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

If a new table is created inside a namespace then Namespace space quota violation is not working for first time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      If a new table is created inside a namespace then NS quota violation is not working for first time.
      Steps to reproduce:

      1: Set a space quota at NameSpace level

      set_quota TYPE => SPACE, NAMESPACE => 'game', LIMIT => '10M', POLICY => NO_WRITES

      2: create a table and add insert data such that NS quota is violated
      create_namespace 'game'
      ./hbase pe --table="game:nfs" --nomapred --rows=1200 sequentialWrite 10

      3: Try to load data in table again and observe that quota is applicable
      4: Now create another table under same NS and put some data

      ./hbase pe --table="game:nfs2" --nomapred --rows=120 sequentialWrite 10
      5: Observe that data is inserted in new table which should not happen due to namespace quota is already violated

      Attachments

        Activity

          People

            sakthi Sakthi
            a00408367 Ajeet Rai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: