hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12741) UserGroupInformation.loginUserFromKeytab() creates background thread which is not getting killed even after application exited
Date Wed, 27 Jan 2016 11:06:39 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119048#comment-15119048
] 

Vinayakumar B commented on HADOOP-12741:
----------------------------------------

Can you point, where exactly UGI#loginUserFromKeytab() is creating background thread?

>From the code I am seeing, creation of daemon thread is done only when {{UGI#loginUserFromSubject(..)}}
is called.

> UserGroupInformation.loginUserFromKeytab() creates background thread which is not getting
killed even after application exited
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12741
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12741
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security
>    Affects Versions: 2.6.3
>            Reporter: Umesh K
>
> Hi UserGroupInformation.loginUserFromKeytab() method creates one background thread for
keytab refresh after every 10 hours I guess. One of my application is using UserGroupInformation.loginUserFromKeytab()
but at the end of my application the background thread created by it does not get killed it
keeps on running. How do I kill/stop thead started by UserGroupInformation.loginUserFromKeytab()?
Please guide or please provide method inside UserGroupInformation so that we can kill it or
stop it. Thanks in advance. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message