Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.0
-
None
-
Reviewed
Description
The DelegationTokenRenewal class has a global Timer; when you stop the JobTracker by calling stopTracker() on it (or stopJobTracker() in MiniMRCluster), the JobTracker will call close() on DelegationTokenRenewal, which cancels the Timer. If you then start up the JobTracker again by calling startTracker() on it (or startJobTracker() in MiniMRCluster), the Timer won't necessarily be re-created; and DelegationTokenRenewal will later throw an exception when it tries to use the Timer again (because you can't reuse a canceled Timer).
DelegationTokenRenewal doesn't seem to be used in trunk, so we only need this for branch-1