Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
In YARN Federation a new interceptor is generated for each new user that calls YARN Router. This also generates a threadpool which is used to call YARN RM. However, when the call is finished the threadpool threads never exits, causing the interceptor object for the user to never be cleaned up. This causes an issue when the number of users is large in the YARN cluster, as the number of idle, uncleaned thread can reach # of users calling router times number of active core threads in thread pool. This causes performance issues in router due to too many idle threads.