ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haihui Xu (Jira)" <j...@apache.org>
Subject [jira] [Reopened] (RANGER-2551) Optimize obtaining the agentHostname of audit log
Date Thu, 13 May 2021 02:30:00 GMT

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

Haihui Xu reopened RANGER-2551:
-------------------------------

> Optimize obtaining the agentHostname of audit log 
> --------------------------------------------------
>
>                 Key: RANGER-2551
>                 URL: https://issues.apache.org/jira/browse/RANGER-2551
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins, Ranger
>    Affects Versions: 1.1.0, 2.0.0, 1.2.0
>            Reporter: Haihui Xu
>            Assignee: Haihui Xu
>            Priority: Major
>              Labels: patch
>             Fix For: 2.1.0
>
>         Attachments: RANGER-2551.patch
>
>
> Firstly, kafka enable ranger-kafka-plugin,. The ranger audit log event happens very frequently
when the kafka client access kafka broker, thus affectting kafka  performance.  The jstack
of kakfa broker pid logs is:
> "kafka-request-handler-23" #101 daemon prio=5 os_prio=0 tid=0x00007fbcce7d5000 nid=0x3331a
runnable [0x00007fb356e3000]
>      java.lang.Thread.State: RUNNABLE
>         at java.net.Inet4AddressImpl.getLocalHostName(Native Method)
>         at java.net.InetAddress.getLocalHost(InetAddress.java:1474)
>         at org.apache.ranger.audit.provider.MiscUtil.getHostname(MiscUtil.java 166)
>         at org.apache.ranger.plugin.audit.RangerDefaultAuditHandler.populateDefaults(RangerDefaultAuditHandler.java:198)
>         at org.apache.ranger.plugin.audit.RangerDefaultAuditHandler.getAuthezEvents(RangerDefaultAuditHandler.java:132)



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

Mime
View raw message