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

Sravya Tirukkovalur commented on SENTRY-300:
--------------------------------------------

And checkes for boolean impersonation = 
hiveConf.getBoolVar(ConfVars.HIVE_SERVER2_ENABLE_DOAS)

> HiveAuthzBinding checks for Hive server2 config which is not available when 
> using Sentry with Hive meta store server
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-300
>                 URL: https://issues.apache.org/jira/browse/SENTRY-300
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Sravya Tirukkovalur
>              Labels: grant/revoke
>             Fix For: 1.4.0
>
>
> String authMethod = 
> Strings.nullToEmpty(hiveConf.getVar(ConfVars.HIVE_SERVER2_AUTHENTICATION)).trim();
> https://github.com/apache/incubator-sentry/blob/master/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/authz/HiveAuthzBinding.java#L147



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to