You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Fang-Yu Rao (Jira)" <ji...@apache.org> on 2020/08/03 17:53:00 UTC

[jira] [Resolved] (IMPALA-9977) Impala's COMPUTE STATS statement generates duplicate Ranger audit log entries for the ALTER events

     [ https://issues.apache.org/jira/browse/IMPALA-9977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fang-Yu Rao resolved IMPALA-9977.
---------------------------------
    Resolution: Fixed

> Impala's COMPUTE STATS statement generates duplicate Ranger audit log entries for the ALTER events
> --------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-9977
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9977
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>            Reporter: Fang-Yu Rao
>            Assignee: Fang-Yu Rao
>            Priority: Critical
>
> IMPALA-9625 fixed the reported problem converting every fully-qualified table name to lowercase in the method call to addAccessEvent() at https://github.com/apache/impala/blame/master/fe/src/main/java/org/apache/impala/analysis/Analyzer.java#L2881-L2882 so that we will not have duplicate audit log entries in the file specified by the flag of "{{-audit_event_log_dir}}" when starting Impala.
> However, the patch for IMPALA-9625 did not fix the problem of duplicate Ranger log entries resulting from the registration of privilege requests at https://github.com/apache/impala/blame/master/fe/src/main/java/org/apache/impala/analysis/Analyzer.java#L2860-L2872.
> Specifically, Ranger performs authorization based on the privilege requests added in the for-loop pointed out above, where the fully-qualified table names are NOT converted to lowercase. Thus,  we should also make the full table name consistent for those privilege requests that will be used by Ranger.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org