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

Marouane BENALLA edited comment on HADOOP-12741 at 6/5/18 1:48 PM:
-------------------------------------------------------------------

We've done the same trick (we have updated the kinit configuration to point to 
a local script that does nothing) because we're having some race condition on 
the cache file between the kinit daemon started by Hadoop and k5start (used for 
automatic renewal). So It's better if we could move with an option to 
deactivate the daemon thread.


was (Author: m.benalla):
We've done the same trick (we have updated the kinit configuration to point to 
a local script that does nothing) because we're having some race condition on 
the cache file between the kinit deamon started by hadoop and k5start (used for 
automatic renewal). So It's better if we could move with an option to 
deactivate the deamon 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
>            Priority: Major
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to