Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In SnapshotQuotaObserverChore.getSnapshotsFromTables method, it fetches space quotas using the following filter:
QuotaFilter filter = new QuotaFilter();
filter.addTypeFilter(QuotaType.SPACE);
but the QuotaType filter hasn't been implemented.
And if there is throttle quotas in quota table, it will encounter Exception as follows:
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)
Attachments
Attachments
Issue Links
- links to