You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2008/12/05 13:49:44 UTC

[jira] Updated: (HADOOP-4785) avoid two calls to System.currentTimeMillis() in heartbeat

     [ https://issues.apache.org/jira/browse/HADOOP-4785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated HADOOP-4785:
--------------------------------------------

    Attachment: patch-4785.txt

Attaching the patch with heartbeat change. Also added non-null check for configuration in TaskTracker

> avoid two calls to System.currentTimeMillis() in heartbeat
> ----------------------------------------------------------
>
>                 Key: HADOOP-4785
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4785
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.20.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>            Priority: Trivial
>             Fix For: 0.20.0
>
>         Attachments: patch-4785.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.