You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Uday Kiran Reddy (JIRA)" <ji...@apache.org> on 2019/07/30 21:26:00 UTC
[jira] [Created] (HADOOP-16475) high number of calls to
UserGroupInformation loginUserFromSubject creates huge number of ticket
renewal thread which leads to Out of Memory
Uday Kiran Reddy created HADOOP-16475:
-----------------------------------------
Summary: high number of calls to UserGroupInformation loginUserFromSubject creates huge number of ticket renewal thread which leads to Out of Memory
Key: HADOOP-16475
URL: https://issues.apache.org/jira/browse/HADOOP-16475
Project: Hadoop Common
Issue Type: Bug
Components: common
Affects Versions: 2.8.5
Environment: This issue has been observed all cloudera and hortonworks hadoop-common environments.
Reporter: Uday Kiran Reddy
Fix For: 2.6.6, 2.8.4, 2.8.3
Attachments: chart4.png
We have an application which makes call to UserGroupInformation loginUserFromSubject multiple times depending on user requests. Each call is leading to create a new kerberos auto renewal thread (deamon) creation which holds ticket, configuration objects. This leads to constant memory growth of java process which eventually leads to process gets killed (out of memory).
static void loginUserFromSubject(Subject subject)
{
..
loginUser.spawnAutoRenewalThreadForUserCreds(); --> this is created new auto renewal threads.
}
I think this is bug which needs to be fixed in hadoop common side. We should not created auto renewal thread for each request. Either give auto renewal process to the caller or make sure that there shouldn't be duplicate auto renewal for same user/subject. We are currently in a situation that we have huge number of threads but couldn't delete them or stop memory growth without restarting the services.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org