[ 
https://issues.apache.org/jira/browse/SENTRY-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209079#comment-14209079
 ] 

guoquanshen commented on SENTRY-357:
------------------------------------

Hi [~nishantgupta2k2]. The LocalGroupResourceAuthorizationProvider need the 
resource file for parsing the relationship between users and groups. for 
example:
[users]
user1 = group1, group2, group3
user2 = group2, group3
The HadoopGroupResourceAuthorizationProvider doesn't need the resource file 
because it uses the hadoop groupMappingService. So I'm afraid of the  
HadoopGroupResourceAuthorizationProvider will not get the error. 

> 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)

Reply via email to