You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/02/10 03:50:28 UTC
[jira] Updated: (HDFS-967) DelegationTokenSecretManager lifecycle
is inconsistent
[ https://issues.apache.org/jira/browse/HDFS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HDFS-967:
-----------------------------
Attachment: hdfs-967.txt
> DelegationTokenSecretManager lifecycle is inconsistent
> ------------------------------------------------------
>
> Key: HDFS-967
> URL: https://issues.apache.org/jira/browse/HDFS-967
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Attachments: hdfs-967.txt
>
>
> FSNamesystem.dtSecretManager is initialized in FSNamesystem.initialize(), but not started until activate(). In FSN.stop() it calls dtSecretManager.stopThreads so long as it's non-null, but doesn't check that the threads have started (ie activate() may never have been called). This causes an NPE in stopThreads()
> To fix this, stopThreads should check tokenRemoverThread against null before interrupting it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.