[
https://issues.apache.org/jira/browse/SENTRY-1634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872197#comment-15872197
]
Vamsee Yarlagadda commented on SENTRY-1634:
-------------------------------------------
Looking at the code of HiveConf, this setting "loadMetastoreConfig" is only
needed if you have a metastore specific config file {{hivemetastore-site.xml}}
present and load it as part of HiveConf setup.
In our case, we generally make use of {{hive-site.xml}} so we don't have to
refer it.
> HMSFollower should not check isLoadMetastoreConfig when trying to connect to
> HMS
> --------------------------------------------------------------------------------
>
> Key: SENTRY-1634
> URL: https://issues.apache.org/jira/browse/SENTRY-1634
> Project: Sentry
> Issue Type: Sub-task
> Components: Hdfs Plugin
> Affects Versions: sentry-ha-redesign
> Reporter: Hao Hao
> Assignee: Vamsee Yarlagadda
> Fix For: sentry-ha-redesign
>
>
> HMSFollower is checking isLoadMetastoreConfig flag when trying to connect to
> HMS.
> https://github.com/apache/sentry/blob/sentry-ha-redesign/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/HMSFollower.java#L120
> However, it seems loadMetastoreConfig is only set to true for
> EmbeddedMetaStore.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)