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

Szehon Ho commented on HIVE-7416:
---------------------------------

Hi, there is a compile error in latest pre-commit tests, is it related?  I 
haven't taken a look yet.

{noformat}[ERROR] 
/data/hive-ptest/working/apache-svn-trunk-source/ql/src/java/org/apache/hadoop/hive/ql/processors/CommandUtil.java:[71,25]
 method checkPrivileges in interface 
org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthorizer cannot 
be applied to given types;
  required: 
org.apache.hadoop.hive.ql.security.authorization.plugin.HiveOperationType,java.util.List<org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObject>,java.util.List<org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObject>,org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzContext
  found: 
org.apache.hadoop.hive.ql.security.authorization.plugin.HiveOperationType,java.util.List<org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObject>,<nulltype>
  reason: actual and formal argument lists differ in length
{noformat}

> provide context information to authorization checkPrivileges api call
> ---------------------------------------------------------------------
>
>                 Key: HIVE-7416
>                 URL: https://issues.apache.org/jira/browse/HIVE-7416
>             Project: Hive
>          Issue Type: New Feature
>          Components: Authorization, SQLStandardAuthorization
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7416-fix-build.patch, HIVE-7416.1.patch, 
> HIVE-7416.1.patch, HIVE-7416.2.patch
>
>
> Context information such as request ip address, unique string for session, 
> and original sql command string are useful for audit logging from the 
> authorization implementations. 
> Authorization implementations can also choose to log authorization success 
> along with information about what policies matched and the context 
> information.



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

Reply via email to