[
https://issues.apache.org/jira/browse/HIVE-25186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhangbutao updated HIVE-25186:
------------------------------
Description:
We use Hive master branch (HiveMetastoreClient Api) to create and drop
database.
When we drop database with following sample code, some exceptions will occur
occasionally.
{code:java}
HiveMetaStoreClient hiveMetaClient = new HiveMetaStoreClient(hiveConf);
hiveMetaClient.dropDatabase("testdb", true, true, true);
{code}
was:
We use Hive master branch (HiveMetastoreClient) to create and drop database.
> Drop database fails with excetion 'Cannot delete or update a parent row: a
> foreign key constraint fails'
> --------------------------------------------------------------------------------------------------------
>
> Key: HIVE-25186
> URL: https://issues.apache.org/jira/browse/HIVE-25186
> Project: Hive
> Issue Type: Bug
> Components: Standalone Metastore
> Affects Versions: 4.0.0
> Reporter: zhangbutao
> Priority: Major
>
> We use Hive master branch (HiveMetastoreClient Api) to create and drop
> database.
> When we drop database with following sample code, some exceptions will occur
> occasionally.
> {code:java}
> HiveMetaStoreClient hiveMetaClient = new HiveMetaStoreClient(hiveConf);
> hiveMetaClient.dropDatabase("testdb", true, true, true);
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)