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/05/01 04:33:00 UTC

[jira] [Commented] (HBASE-22054) Space Quota: Compaction is not working for super user in case of NO_WRITES_COMPACTIONS

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

Hudson commented on HBASE-22054:
--------------------------------

Results for branch branch-2.1
	[build #1099 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1099/]: (/) *{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/1099//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/1099//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/1099//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: Compaction is not working for super user in case of NO_WRITES_COMPACTIONS
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-22054
>                 URL: https://issues.apache.org/jira/browse/HBASE-22054
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ajeet Rai
>            Assignee: Sakthi
>            Priority: Minor
>              Labels: Quota, Space
>             Fix For: 3.0.0, 2.2.0, 2.3.0, 2.1.5
>
>         Attachments: hbase-22054.master.001.patch, hbase-22054.master.002.patch, hbase-22054.master.003.patch, hbase-22054.master.004.patch, hbase-22054.master.005.patch
>
>
> Space Quota: Compaction is not working for super user. Compaction command is issued successfully at client but actually compaction is not happening.
> In debug log below message is printed:
> as an active space quota violation policy disallows compaction.
>  Reference: 
>  [https://lists.apache.org/thread.html/d09aa7abaacf1f0be9d59fa9260515ddc0c17ac0aba9cc0f2ac569bf@%3Cuser.hbase.apache.org%3E]
> Actually in requestCompactionInternal method of  CompactSplit class ,there is no check for super user and compcations are disallowed
> {noformat}
>   RegionServerSpaceQuotaManager spaceQuotaManager =
>         this.server.getRegionServerSpaceQuotaManager();
>     if (spaceQuotaManager != null &&
>         spaceQuotaManager.areCompactionsDisabled(region.getTableDescriptor().getTableName())) {
>       String reason = "Ignoring compaction request for " + region +
>           " as an active space quota violation " + " policy disallows compactions.";
>       tracker.notExecuted(store, reason);
>       completeTracker.completed(store);
>       LOG.debug(reason);
>       return;
>     }
> {noformat}
>  



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