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

Job history file is not flushed correctly because isTimerActive flag is not set true when flushTimerTask is scheduled.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 2.7.1, 3.0.0-alpha1
    • Component/s: mrv2
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Job history file is not flushed correctly because isTimerActive flag is not set true when flushTimerTask is scheduled.
      It looks like we should set isTimerActive to true when flushTimerTask is scheduled. Otherwise if a new qualified event comes before the current flush timer is expired, flushTimerTask will be canceled and rescheduled.
      Also I didn't find any code which set isTimerActive flag to true, So isTimerActive is useless in current code.

        Attachments

        1. MAPREDUCE-6339.test.patch
          1 kB
          zhihai xu
        2. MAPREDUCE-6339.test1.patch
          1.0 kB
          zhihai xu
        3. MAPREDUCE-6339.000.patch
          3 kB
          zhihai xu

          Issue Links

            Activity

              People

              • Assignee:
                zxu zhihai xu
                Reporter:
                zxu zhihai xu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: