[ 
http://issues.apache.org/jira/browse/HADOOP-167?page=comments#action_12376517 ] 

Owen O'Malley commented on HADOOP-167:
--------------------------------------

Your example is exactly the same as:

jobConf = new JobConf();
jobConf.addFinalResource(getHadoopAliasConfFile());

just without reading the xml files an extra time.

> reducing the number of Configuration & JobConf objects created
> --------------------------------------------------------------
>
>          Key: HADOOP-167
>          URL: http://issues.apache.org/jira/browse/HADOOP-167
>      Project: Hadoop
>         Type: Improvement

>   Components: conf
>     Versions: 0.1.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.2
>  Attachments: remove-confs.patch
>
> Currently, Configuration and JobConf objects are created many times during 
> executing a job. In particular, the Task Tracker creates a lot of them. They 
> both clutter up the logs and parse the xml config files over and over again.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to