[
https://issues.apache.org/jira/browse/SENTRY-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149496#comment-15149496
]
Hao Hao commented on SENTRY-1055:
---------------------------------
+1 Thanks [~gchanan]!
> Sentry service solr constants refer to clusters rather than services
> --------------------------------------------------------------------
>
> Key: SENTRY-1055
> URL: https://issues.apache.org/jira/browse/SENTRY-1055
> Project: Sentry
> Issue Type: Bug
> Components: Service, Solr Plugin
> Affects Versions: 1.7.0
> Reporter: Gregory Chanan
> Assignee: Gregory Chanan
> Fix For: 1.7.0
>
> Attachments: SENTRY-1055.patch
>
>
> {code} /**
> * The property of sentry.search.cluster was used to distinguish itself
> from multiple search clusters. For example, there are two
> * search clusters: cluster1 and cluster2 implemented authorization via
> sentry, and it must set the value of
> * sentry.search.cluster=cluster1 or cluster2 to communicate with sentry
> service for authorization
> */
> public static final String SENTRY_SEARCH_CLUSTER_KEY =
> "sentry.search.cluster";
> public static final String SENTRY_SEARCH_CLUSTER_DEFAULT = "cluster1";{code}
> This code appears to be out of date...generic client refers to "services"
> rather than "clusters".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)