You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Vihang Karajgaonkar (Jira)" <ji...@apache.org> on 2020/09/29 16:05:01 UTC

[jira] [Resolved] (IMPALA-10024) CatalogServiceCatalog.isBlacklistedDb should do a case-insensitive comparison

     [ https://issues.apache.org/jira/browse/IMPALA-10024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vihang Karajgaonkar resolved IMPALA-10024.
------------------------------------------
    Fix Version/s: Impala 4.0
       Resolution: Fixed

> CatalogServiceCatalog.isBlacklistedDb should do a case-insensitive comparison
> -----------------------------------------------------------------------------
>
>                 Key: IMPALA-10024
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10024
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>            Priority: Major
>             Fix For: Impala 4.0
>
>
> CatalogServiceCatalog.isBlacklistedDb() is used in many places to check if a given database name is on the list of databases which should be ignored in Catalog. However it does a case sensitive comparison which could cause false negatives.
> One place where we see this issue is when we receive a metastore event on the on {{SYS}} database and the {{--blacklisted_dbs}} is set to \{{sys}}. In such cases EventsProcessor should ignore the event instead of processing it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)