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 "Devaraj Das (JIRA)" <ji...@apache.org> on 2008/12/05 14:01:44 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12653771#action_12653771 ] 

Devaraj Das commented on HADOOP-4785:
-------------------------------------

+1

> 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: Blocker
>             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.