You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Kang Xiao (Commented) (JIRA)" <ji...@apache.org> on 2011/12/16 11:58:30 UTC

[jira] [Commented] (MAPREDUCE-2339) optimize JobInProgress.getTaskInProgress(taskid)

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170897#comment-13170897 ] 

Kang Xiao commented on MAPREDUCE-2339:
--------------------------------------

It's still usefull for 1.0.0 or 1.1.0 version but not for trunk. Any suggesstion?
                
> optimize JobInProgress.getTaskInProgress(taskid)
> ------------------------------------------------
>
>                 Key: MAPREDUCE-2339
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2339
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobtracker
>    Affects Versions: 0.20.2, 0.21.0
>            Reporter: Kang Xiao
>         Attachments: MAPREDUCE-2339.patch, MAPREDUCE-2339.patch
>
>
> JobInProgress.getTaskInProgress(taskid) use a linner search to get the TaskInProgress object by taskid. In fact, it can be replaced by much more efficient array index operation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira