[
https://issues.apache.org/jira/browse/HBASE-21455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800605#comment-16800605
]
Pankaj Kumar commented on HBASE-21455:
--------------------------------------
SnapshotQuotaObserverChore should also handle this scenario,
{noformat}
// Collect either the table name itself, or all of the tables in the namespace
if (null != ns) {
tablesToFetchSnapshotsFrom.addAll(Arrays.asList(admin.listTableNamesByNamespace(ns)));
} else {
tablesToFetchSnapshotsFrom.add(tn);
}
{noformat}
> Update filesystem-space quota fail if there is a space quota for non-existing
> namespace
> ---------------------------------------------------------------------------------------
>
> Key: HBASE-21455
> URL: https://issues.apache.org/jira/browse/HBASE-21455
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.2
> Reporter: wenbang
> Assignee: wenbang
> Priority: Major
> Attachments: HBASE-21455.master.001.patch
>
>
> QuotaObserverChore#fetchAllTablesWithQuotasDefined may fail and throw a
> NamespaceNotFoundException because of namespace does not exist
> {code:java}
> // Collect all of the tables in the namespace
> TableName[] tablesInNS =
> conn.getAdmin().listTableNamesByNamespace(namespace);
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)