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

space quota issue: deleting snapshot doesn't update the usage of table

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      space quota issue: deleting snapshot doesn't update the usage of table

      Steps: 1:

      set_quota TYPE => SPACE, TABLE => 'bugatti', LIMIT => '7M', POLICY => NO_WRITES_COMPACTIONS

      2: ./hbase pe --table="bugatti" --nomapred --rows=200 sequentialWrite 10

      3: ./hbase pe --table="bugatti" --nomapred --rows=200 sequentialWrite 10

      4: snapshot 'bugatti','bugatti_snapshot'

      5: ./hbase pe --table="bugatti" --nomapred --rows=200 sequentialWrite 10

      6: major_compact 'bugatti'

      7: delete_snapshot 'bugatti_snapshot'

      now check the usage and observe that it is not getting updated.

      Attachments

        1. hbase-22086.addendum.patch
          2 kB
          Sakthi
        2. hbase-22086.branch-2.001.patch
          24 kB
          Sakthi
        3. hbase-22086.master.001.patch
          13 kB
          Sakthi
        4. hbase-22086.master.002.patch
          21 kB
          Sakthi
        5. hbase-22086.master.003.patch
          22 kB
          Sakthi
        6. hbase-22086.master.004.patch
          22 kB
          Sakthi
        7. hbase-22086.master.005.patch
          24 kB
          Sakthi
        8. hbase-22086.master.006.patch
          24 kB
          Duo Zhang
        9. hbase-22086.master.006.patch
          24 kB
          Sakthi

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: