hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy Ryza (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5484) YarnChild unnecessarily loads job conf twice
Date Wed, 28 Aug 2013 16:42:52 GMT

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

Sandy Ryza commented on MAPREDUCE-5484:

Oops I accidentally took it out.  Posting a patch that adds it back in.
> YarnChild unnecessarily loads job conf twice
> --------------------------------------------
>                 Key: MAPREDUCE-5484
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5484
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: task
>    Affects Versions: 2.1.0-beta
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>              Labels: perfomance
>         Attachments: MAPREDUCE-5484.patch
> In MR task processes, a JobConf is instantiated with the same job.xml twice, once at
the beginning of main() and once in configureTask.  IIUC, the second instantiation is not
necessary.  These take time reading from disk and parsing XML.
> Removing the second instantiation shaved a second off the average map task time in a
1,000-map sleep job.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message