[
https://issues.apache.org/jira/browse/SENTRY-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209106#comment-14209106
]
guoquanshen commented on SENTRY-357:
------------------------------------
Hi [~prasadm] . I have an idea to fix this issue. I want to refactor the
constructs of HadoopGroupResourceAuthorizationProvider and
LocalGroupResourceAuthorizationProvider, add a new construct with a more
configuration parameter. it like as following:
public HadoopGroupResourceAuthorizationProvider(Configuration conf, String
resource, PolicyEngine policy)
public LocalGroupResourceAuthorizationProvider(Configuration conf, String
resource, PolicyEngine policy)
what do you think about this?
> Not able to read policy files on HDFS for Solr
> ----------------------------------------------
>
> Key: SENTRY-357
> URL: https://issues.apache.org/jira/browse/SENTRY-357
> Project: Sentry
> Issue Type: Bug
> Reporter: Nishant Gupta
> Assignee: guoquanshen
> Priority: Blocker
>
> Using Cloudera CDH 4.7 packaged with sentry(incubating) 1.1.0+22. Unable to
> enable Sentry authorization for Solr. Though the policy file is there on HDFS
> with required permissions to solr user it gives the error while
> SolrAuthzBinding
> java.io.FileNotFoundException: File /user/solr/sentry/sentry-provider.ini
> does not exist
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)