[
https://issues.apache.org/jira/browse/MAPREDUCE-5487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903999#comment-13903999
]
Liyin Liang commented on MAPREDUCE-5487:
----------------------------------------
The following line is not necessary any more. It should be deleted.
{code}
static final Configuration conf = new JobConf();
{code}
> In task processes, JobConf is unnecessarily loaded again in Limits
> ------------------------------------------------------------------
>
> Key: MAPREDUCE-5487
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5487
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: performance, task
> Affects Versions: 2.1.0-beta
> Reporter: Sandy Ryza
> Assignee: Sandy Ryza
> Fix For: 2.3.0
>
> Attachments: MAPREDUCE-5487-1.patch, MAPREDUCE-5487.patch
>
>
> Limits statically loads a JobConf, which incurs costs of reading files from
> disk and parsing XML. The contents of this JobConf are identical to the one
> loaded by YarnChild (before adding job.xml as a resource). Allowing Limits
> to initialize with the JobConf loaded in YarnChild would reduce task startup
> time.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)