hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kang Xiao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-2340) optimize JobInProgress.initTasks()
Date Mon, 21 Feb 2011 05:09:44 GMT

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

Kang Xiao updated MAPREDUCE-2340:
---------------------------------

    Attachment: MAPREDUCE-2340.patch

Patch attached.

A test for 1 job with 100000 maps  initialization on a 2400 nodes cluster is as follows:

original version:
initTasks() 17891 ms
createCache() 16090 ms 

opt version:
initTasks() 2243 ms
createCache() 326 ms


> optimize JobInProgress.initTasks()
> ----------------------------------
>
>                 Key: MAPREDUCE-2340
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2340
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobtracker
>    Affects Versions: 0.20.1, 0.21.0
>            Reporter: Kang Xiao
>         Attachments: MAPREDUCE-2340.patch
>
>
> JobTracker's hostnameToNodeMap cache can speed up JobInProgress.initTasks() and JobInProgress.createCache()
significantly. A test for 1 job with 100000 maps on a 2400 cluster shows nearly 10 and 50
times speed up for initTasks() and createCache(). 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message