Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4765

Restarting the JobTracker programmatically can cause DelegationTokenRenewal to throw an exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: jobtracker, mrv1
    • Labels:
      None
    • Hadoop Flags:
      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

      1. MAPREDUCE-4765_branch-1.patch
        2 kB
        Robert Kanter
      2. MAPREDUCE-4765_branch-1.patch
        2 kB
        Robert Kanter

        Activity

        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Alejandro Abdelnur made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        Robert Kanter made changes -
        Attachment MAPREDUCE-4765_branch-1.patch [ 12552191 ]
        Robert Kanter made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Robert Kanter made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-4765_branch-1.patch [ 12551752 ]
        Robert Kanter created issue -

          People

          • Assignee:
            Robert Kanter
            Reporter:
            Robert Kanter
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development