Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.22.0
-
None
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-909 Race condition between rollEditLog or rollFSImage ant FSEditsLog.write operations corrupts edits log
- Closed
- is duplicated by
-
HADOOP-6565 AbstractDelegationTokenSecretManager.stopThreads() will NPE if called before startThreads()
- Resolved
- is part of
-
HADOOP-6573 Delegation Tokens should be persisted.
- Closed