You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2020/09/15 10:54:00 UTC

[jira] [Assigned] (FLINK-19227) The catalog is still created after opening failed in catalog registering

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

Jingsong Lee reassigned FLINK-19227:
------------------------------------

    Assignee: Pua

> The catalog is still created after opening failed in catalog registering
> ------------------------------------------------------------------------
>
>                 Key: FLINK-19227
>                 URL: https://issues.apache.org/jira/browse/FLINK-19227
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>            Reporter: Jingsong Lee
>            Assignee: Pua
>            Priority: Major
>              Labels: starter
>             Fix For: 1.11.3
>
>
> > When I create the HiveCatalog and Flink is not able to connect to the HiveMetastore, the statement can not be executed, but the catalog is still created. Subsequent attempts to query the tables result in a NPE.
> In CatalogManager.registerCatalog.
>  Consider open is a relatively easy operation to fail, we should put catalog into catalog manager after its open.



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