[
https://issues.apache.org/jira/browse/HIVE-19310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468067#comment-16468067
]
Vineet Garg commented on HIVE-19310:
------------------------------------
[~sershe] this patch has failed the following tests in branch-3:
* org.apache.hadoop.hive.metastore.TestStats.partitionedTableInHiveCatalog
* org.apache.hadoop.hive.metastore.TestStats.partitionedTableDeprecatedCalls
* org.apache.hadoop.hive.metastore.TestOldSchema.testPartitionOps
I am reverting this commit from branch-3 for now. Please fix theses tests for
branch-3 to get this patch in.
> Metastore: MetaStoreDirectSql.ensureDbInit has some slow DN calls which might
> need to be run only in test env
> -------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-19310
> URL: https://issues.apache.org/jira/browse/HIVE-19310
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 3.0.0
> Reporter: Vaibhav Gumashta
> Assignee: Sergey Shelukhin
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: HIVE-19310.02.patch, HIVE-19310.03.patch,
> HIVE-19310.1.patch
>
>
> MetaStoreDirectSql.ensureDbInit has the following 2 calls which we have
> observed taking a long time in our testing:
> {code}
> initQueries.add(pm.newQuery(MNotificationLog.class, "dbName == ''"));
> initQueries.add(pm.newQuery(MNotificationNextId.class, "nextEventId < -1"));
> {code}
> In a production environment, these tables should be initialized using
> schematool, however in a test environment, these calls might be needed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)