hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-2740) MultipleOutputs in new API creates needless TaskAttemptContexts
Date Mon, 01 Aug 2011 17:54:09 GMT

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

Todd Lipcon updated MAPREDUCE-2740:

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

> MultipleOutputs in new API creates needless TaskAttemptContexts
> ---------------------------------------------------------------
>                 Key: MAPREDUCE-2740
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2740
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.23.0
>         Attachments: mr-2740.txt
> MultipleOutputs.write creates a new TaskAttemptContext, which we've seen to take a significant
amount of CPU. The TaskAttemptContext constructor creates a JobConf, gets current UGI, etc.
I don't see any reason it needs to do this, instead of just creating a single TaskAttemptContext
when the InputFormat is created (or lazily but cached as a member)

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


View raw message