[
https://issues.apache.org/jira/browse/HADOOP-12741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117720#comment-15117720
]
Steve Loughran commented on HADOOP-12741:
-----------------------------------------
# it's tagged as a daemon thread, so shouldn't be reason to keep your code
running. When your main threads should exit, so should this.
# yes, some shutdown operation might be nice.
> 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)