Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4785

avoid two calls to System.currentTimeMillis() in heartbeat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.20.0
    • 0.20.0
    • None
    • None
    • Reviewed

    Description

      After HADOOP-4305, shouldAssignTasksToTracker and processHeartbeat two methods make a call to System.currentTimeMillis().
      This can be avoided by calling it once in heartbeat and passing to both of them.

      Attachments

        1. patch-4785.txt
          3 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            amareshwari Amareshwari Sriramadasu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: