[
https://issues.apache.org/jira/browse/HBASE-21733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756144#comment-16756144
]
Hudson commented on HBASE-21733:
--------------------------------
Results for branch branch-2.2
[build #4 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/4/]:
(x) *{color:red}-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.2/4//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/4//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/4//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> SnapshotQuotaObserverChore should only fetch space quotas
> ---------------------------------------------------------
>
> Key: HBASE-21733
> URL: https://issues.apache.org/jira/browse/HBASE-21733
> Project: HBase
> Issue Type: Bug
> Reporter: Yi Mei
> Assignee: Yi Mei
> Priority: Major
> Fix For: 3.0.0, 2.2.0, 2.3.0
>
> Attachments: HBASE-21733.master.001.patch,
> HBASE-21733.master.002.patch
>
>
> In SnapshotQuotaObserverChore.getSnapshotsFromTables method, it fetches space
> quotas using the following filter:
> {code:java}
> QuotaFilter filter = new QuotaFilter();
> filter.addTypeFilter(QuotaType.SPACE);
> {code}
> but the QuotaType filter hasn't been implemented.
> And if there is throttle quotas in quota table, it will encounter Exception
> as follows:
> {code:java}
> java.lang.IllegalStateException: Expected only one of namespace and tablename
> to be null
> at
> org.apache.hadoop.hbase.quotas.SnapshotQuotaObserverChore.getSnapshotsToComputeSize(SnapshotQuotaObserverChore.java:137)
> at
> org.apache.hadoop.hbase.quotas.TestSnapshotQuotaObserverChore.testSnapshotsFromNamespaces(TestSnapshotQuotaObserverChore.java:184)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)