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

Fang-Yu Rao updated IMPALA-9021:
--------------------------------
    Description: 
Currently on a Ranger-enabled Impala minicluster, Impala would produce a wrong 
value for the Ranger audit field of client IP after executing a SQL statement 
that triggers the check of authorization.

Specifically, if a user issues a SQL statement '{{SHOW TABLE STATS 
functional.alltypes;}}', the value of the 3rd argument {{clientIp}} to the 
constructor of {{RangerBufferAuditHandler}} would be  '{{::ffff:127.0.0.1}}' 
instead of '{{127.0.0.1}}'.


  was:
Currently on a Ranger-enabled Impala minicluster, Impala would produce a wrong 
value for the Ranger audit field of client IP after executing a SQL statement 
that triggers the check of authorization.

Specifically, if a user issues a SQL statement {{SHOW TABLE STATS 
functional.alltypes;}}, the value of the 3rd argument {{clientIp}} to the 
constructor of {{RangerBufferAuditHandler}} would be  '{{::ffff:127.0.0.1}}' 
instead of '{{127.0.0.1}}'.



> Impala produces a wrong value for the Ranger audit field of client IP
> ---------------------------------------------------------------------
>
>                 Key: IMPALA-9021
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9021
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Fang-Yu Rao
>            Assignee: Fang-Yu Rao
>            Priority: Critical
>
> Currently on a Ranger-enabled Impala minicluster, Impala would produce a 
> wrong value for the Ranger audit field of client IP after executing a SQL 
> statement that triggers the check of authorization.
> Specifically, if a user issues a SQL statement '{{SHOW TABLE STATS 
> functional.alltypes;}}', the value of the 3rd argument {{clientIp}} to the 
> constructor of {{RangerBufferAuditHandler}} would be  '{{::ffff:127.0.0.1}}' 
> instead of '{{127.0.0.1}}'.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to