You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2019/09/20 23:08:00 UTC

[jira] [Commented] (HBASE-22142) Space quota: If table inside namespace having space quota is dropped, data size usage is still considered for the drop table.

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

Hudson commented on HBASE-22142:
--------------------------------

Results for branch branch-2.1
	[build #1626 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1626/]: (/) *{color:green}+1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1626//General_Nightly_Build_Report/]




(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1626//JDK8_Nightly_Build_Report_(Hadoop2)/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1626//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Space quota: If table inside namespace having space quota is dropped, data size  usage is still considered for the drop table.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-22142
>                 URL: https://issues.apache.org/jira/browse/HBASE-22142
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Shardul Singh
>            Assignee: Shardul Singh
>            Priority: Minor
>              Labels: Quota, space
>             Fix For: 3.0.0, 2.3.0, 2.1.7, 2.2.2
>
>         Attachments: HBASE-22142.branch-2.1.v001.patch
>
>
>  steps to follow:
> 1.create a quota at namespace level
> 2.create 2 tables t1 and t2 inside namespace and write data.
> 3.write 5 mb of data each in both t1 and t2.
> 4. drop t1.
> 5. data usage for t2 will be shown 10 mb for 10 minutes.
> If table is dropped inside namespace, data size  usage is still shown for 10 minutes because of the configuration "hbase.master.quotas.region.report.retention.millis". This conf maintains the region report in cache(regionSizes) and old entry is used for 10 minutes. We can remove the entry from cache during the drop command as part of MasterCP hook only, so that correct usage is show instantaneously after the drop command.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)