Details
Description
AbstractDelegationTokenSecretManager#removeExpiredToken has two phases. First phase synchronizes to collect expired tokens. Second phase loops over the collected tokens to log them while not holding the monitor.
HDFS-13112 needs to acquire the namesystem lock during the second logging phase, which requires splitting the method apart to allow a method override.
Attachments
Attachments
Issue Links
- is required by
-
HDFS-13112 Token expiration edits may cause log corruption or deadlock
- Resolved