You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/10/01 03:08:45 UTC

[jira] [Commented] (MAPREDUCE-2779) JobSplitWriter.java can't handle large job.split file

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118612#comment-13118612 ] 

Hudson commented on MAPREDUCE-2779:
-----------------------------------

Integrated in Hadoop-Mapreduce-22-branch #79 (See [https://builds.apache.org/job/Hadoop-Mapreduce-22-branch/79/])
    MAPREDUCE-2779. JobSplitWriter.java can't handle large job.split file. Contributed by Ming Ma.

shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177787
Files : 
* /hadoop/common/branches/branch-0.22/mapreduce/CHANGES.txt
* /hadoop/common/branches/branch-0.22/mapreduce/src/java/org/apache/hadoop/mapreduce/split/JobSplitWriter.java

                
> JobSplitWriter.java can't handle large job.split file
> -----------------------------------------------------
>
>                 Key: MAPREDUCE-2779
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2779
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission
>    Affects Versions: 0.20.205.0, 0.22.0, 0.23.0
>            Reporter: Ming Ma
>            Assignee: Ming Ma
>             Fix For: 0.22.0, 0.23.0, 0.24.0
>
>         Attachments: MAPREDUCE-2779-0.22.patch, MAPREDUCE-2779-trunk.patch, MAPREDUCE-2779-trunk.patch
>
>
> We use cascading MultiInputFormat. MultiInputFormat sometimes generates big job.split used internally by hadoop, sometimes it can go beyond 2GB.
> In JobSplitWriter.java, the function that generates such file uses 32bit signed integer to compute offset into job.split.
> writeNewSplits
> ...
>         int prevCount = out.size();
> ...
>         int currCount = out.size();
> writeOldSplits
> ...
>       long offset = out.size();
> ...
>       int currLen = out.size();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira