You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Sandy Ryza (JIRA)" <ji...@apache.org> on 2013/08/28 10:42:52 UTC

[jira] [Created] (MAPREDUCE-5484) YarnChild unnecessarily loads job conf twice

Sandy Ryza created MAPREDUCE-5484:
-------------------------------------

             Summary: 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


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