Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4403

(AM/NM/Container)LivelinessMonitor should use monotonic time when calculating period

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      Currently, (AM/NM/Container)LivelinessMonitor use current system time to calculate a duration of expire which could be broken by settimeofday. We should use Time.monotonicNow() instead.

      Attachments

        1. YARN-4403.patch
          6 kB
          Junping Du
        2. YARN-4403-v2.patch
          8 kB
          Junping Du

        Issue Links

        Activity

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

          People

            junping_du Junping Du
            junping_du Junping Du
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment