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.

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 2.7.1, 3.0.0-alpha1
    • mrv2
    • None
    • 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.000.patch
          3 kB
          Zhihai Xu
        2. MAPREDUCE-6339.test1.patch
          1.0 kB
          Zhihai Xu
        3. MAPREDUCE-6339.test.patch
          1 kB
          Zhihai Xu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zxu Zhihai Xu
            zxu Zhihai Xu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment