Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5384

Races in DelegationTokenRenewal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0, 1.1.2, 1.2.1
    • None
    • None
    • None

    Description

      There are a couple of races in DelegationTokenRenewal.

      One of them was addressed by MAPREDUCE-4860, which introduced a deadlock while fixing this race. Opening a new JIRA per discussion in MAPREDUCE-5364, since MAPREDUCE-4860 is already shipped in a release.

      Races to fix:

      1. TimerTask#cancel() disallows future invocations of run(), but doesn't abort an already scheduled/started run().
      2. In the context of DelegationTokenRenewal, RenewalTimerTask#cancel() only cancels that TimerTask instance. However, it has no effect on any other TimerTasks created for that token.

      Attachments

        1. mr-5384-0.patch
          4 kB
          Karthik Kambatla
        2. mr-5384-1.patch
          9 kB
          Karthik Kambatla
        3. mr-5384-2.patch
          13 kB
          Karthik Kambatla

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kasha Karthik Kambatla
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: