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

Velmurugan Periasamy updated RANGER-2420:
-----------------------------------------
    Fix Version/s: 2.0.0

> Ranger spends 36% of CPU in ObjectMapper
> ----------------------------------------
>
>                 Key: RANGER-2420
>                 URL: https://issues.apache.org/jira/browse/RANGER-2420
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>            Reporter: Todd Lipcon
>            Assignee: Abhay Kulkarni
>            Priority: Major
>             Fix For: 2.0.0
>
>
> Ranger uses ObjectMapper to convert to/from JSON. In a profile of a workload 
> (an Impala authorization test) I see that 36% of the ranger CPU is spent in 
> these functions. 26% of total CPU is in the '_findRootDeserializer' method, 
> which gets cached if a type is deserialized multiple times. However, the 
> caching is only effective if the ObjectMapper is reused. JSONUtil appears to 
> create a new ObjectMapper on every call, which defeats the caching.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to