hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Umesh K (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12741) UserGroupInformation.loginUserFromKeytab() creates background thread which is not getting killed even after application exited
Date Tue, 26 Jan 2016 18:48:40 GMT

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

Umesh K commented on HADOOP-12741:
----------------------------------

Thanks actually one third party Java library within my company uses my Java library. Now that
third party library calls this method and does some processing using my code and then in the
end it does checking if any threads are running then it just does not stop and it throws error
that some threads are running so to avoid this I need to kill this background thread.

> 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