[
https://issues.apache.org/jira/browse/FLINK-19227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jingsong Lee updated FLINK-19227:
---------------------------------
Description:
> 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.
was:
In CatalogManager.registerCatalog.
Consider open is a relatively easy operation to fail, we should put catalog
into catalog manager after its open.
> 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: New Feature
> Components: Table SQL / API
> Reporter: Jingsong Lee
> Priority: Major
> 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)