You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Uma Maheswari (JIRA)" <ji...@apache.org> on 2019/03/22 12:51:00 UTC

[jira] [Commented] (HBASE-22086) space quota issue: deleting snapshot doesn't update the usage of table

    [ https://issues.apache.org/jira/browse/HBASE-22086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16798986#comment-16798986 ] 

Uma Maheswari commented on HBASE-22086:
---------------------------------------

The below observations are made:
 * u:ss for bugatti  table in hbase:quota table is not getting removed
 * /hbase/archive/data/default -directory in HDFS  doesnot contain hfiles for bugatti

SnapshotQuotaObserverChore:

in getSnapshotsFromTables() method:

 

 _Multimap<TableName,String> snapshotsToCompute = HashMultimap.create();_
 _for (org.apache.hadoop.hbase.client.SnapshotDescription sd : admin.listSnapshots()) { //doesnot give bugatti_snapshot,so tableusage is not                                                                                                                                                 getting updated_
 _TableName tn = sd.getTableName();_

 

 

> space quota issue: deleting snapshot doesn't update the usage of table
> ----------------------------------------------------------------------
>
>                 Key: HBASE-22086
>                 URL: https://issues.apache.org/jira/browse/HBASE-22086
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ajeet Rai
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)