hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Zillmann (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-2042) InputFormat#getSplits() is called twice in local mode
Date Sat, 28 Aug 2010 21:10:54 GMT

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

Johannes Zillmann updated MAPREDUCE-2042:
-----------------------------------------

    Attachment: MAPREDUCE-2042.patch

Attached a [patch|^MAPREDUCE-2042.patch] for 0.20 branch which reads the splits from file
instead of creating them the second time.

> InputFormat#getSplits() is called twice in local mode
> -----------------------------------------------------
>
>                 Key: MAPREDUCE-2042
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2042
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.20.1, 0.20.2
>            Reporter: Johannes Zillmann
>             Fix For: 0.20.3
>
>         Attachments: MAPREDUCE-2042.patch
>
>
> In local mode the InputFormat#getSplits() is called twice in local mode.
> - 1st time: JobClient#writeOld/NewSplits() (then they write the splits to disk )
> - 2nd time: LocalJobRunner#run() (instead of reading the split file )
> That can become annoying in case the InputFormat access external resources or takes a
little longer to create the splits.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message