HBASE-18101 Fix type mismatch on container access
Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
837bb9ece7
commit
8b75e9ed91
|
@ -190,11 +190,11 @@ public class QuotaCache implements Stoppable {
|
|||
// Prefetch online tables/namespaces
|
||||
for (TableName table: QuotaCache.this.rsServices.getOnlineTables()) {
|
||||
if (table.isSystemTable()) continue;
|
||||
if (!QuotaCache.this.tableQuotaCache.contains(table)) {
|
||||
if (!QuotaCache.this.tableQuotaCache.containsKey(table)) {
|
||||
QuotaCache.this.tableQuotaCache.putIfAbsent(table, new QuotaState());
|
||||
}
|
||||
String ns = table.getNamespaceAsString();
|
||||
if (!QuotaCache.this.namespaceQuotaCache.contains(ns)) {
|
||||
if (!QuotaCache.this.namespaceQuotaCache.containsKey(ns)) {
|
||||
QuotaCache.this.namespaceQuotaCache.putIfAbsent(ns, new QuotaState());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue