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

StarBoy1005 updated RANGER-5453:
--------------------------------
    Description: 
Once the Ranger service contains a large number of policies and a user is 
associated with many of them, deleting that user can cause threads to be 
blocked for a long time and may prevent the user from being deleted 
successfully.

For example I created 30.000 policies in my ranger,  now I delete the user from 
web ui, then got a 500 resp after about 60s. 

 

 

jstack:

 

 

  was:
Once the Ranger service contains a large number of policies and a user is 
associated with many of them, deleting that user can cause threads to be 
blocked for a long time and may prevent the user from being deleted 
successfully.

For example I created 30.000 policies in my ranger,  now I delete the user from 
web ui, then got a 500 resp after about 60s. 



!image-2026-01-20-19-33-57-954.png!

 

jstack:

!image-2026-01-20-19-35-29-851.png!

 


> Once the Ranger service contains a large number of policies and a user is 
> associated with many of them, deleting that user can cause threads to be 
> blocked for a long time and may prevent the user from being deleted 
> successfully.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-5453
>                 URL: https://issues.apache.org/jira/browse/RANGER-5453
>             Project: Ranger
>          Issue Type: Improvement
>          Components: admin
>    Affects Versions: 2.3.0
>            Reporter: StarBoy1005
>            Priority: Major
>
> Once the Ranger service contains a large number of policies and a user is 
> associated with many of them, deleting that user can cause threads to be 
> blocked for a long time and may prevent the user from being deleted 
> successfully.
> For example I created 30.000 policies in my ranger,  now I delete the user 
> from web ui, then got a 500 resp after about 60s. 
>  
>  
> jstack:
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to