[
https://issues.apache.org/jira/browse/HIVE-10977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chaoyu Tang updated HIVE-10977:
-------------------------------
Attachment: HIVE-10977.patch
Instantiate MetaStoreDirectSql in ObjectStore only when HMS DirectSql is
enabled.
[~sershe] and [~xuefuz], could you review to see if it makes sense?
> No need to instantiate MetaStoreDirectSql when HMS DirectSql is disabled
> ------------------------------------------------------------------------
>
> Key: HIVE-10977
> URL: https://issues.apache.org/jira/browse/HIVE-10977
> Project: Hive
> Issue Type: Bug
> Reporter: Chaoyu Tang
> Assignee: Chaoyu Tang
> Priority: Minor
> Attachments: HIVE-10977.patch
>
>
> When hive.metastore.try.direct.sql is set to false, HMS will use JDO to
> retrieve data, therefor it is not necessary to instantiate an expensive
> MetaStoreDirectSql during ObjectStore initialization.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)