Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The current HDFS delegation token renewal framework invokes Token.renew() and assumes the expiry time returned is the expiry time for the token. Further investigation appears to show that it is in fact the time at which the token should next be renewed, rather than the max time for the token. Given that, the current scheme may not be optimal since it will probably trigger the retrieval of new tokens much more often than necessary.