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

Eli Collins moved HADOOP-3356 to MAPREDUCE-2828:
------------------------------------------------

          Component/s:     (was: io)
    Affects Version/s:     (was: 0.16.3)
                  Key: MAPREDUCE-2828  (was: HADOOP-3356)
              Project: Hadoop Map/Reduce  (was: Hadoop Common)

> SequenceFile.MergeQueue.merge inadvertently creates merge-outputs in the 
> wrong FileSystem, at times in the InMemoryFileSystem
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2828
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2828
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Arun C Murthy
>            Assignee: Arun C Murthy
>            Priority: Minor
>
> The offending code is:
> {code:title=SequenceFile.java}
>             Path outputFile =  lDirAlloc.getLocalPathForWrite(
>                                                 tmpFilename.toString(),
>                                                 approxOutputSize, conf);
>             LOG.debug("writing intermediate results to " + outputFile);
>             Writer writer = cloneFileAttributes(
>                                                 
> fs.makeQualified(segmentsToMerge.get(0).segmentPathName), 
>                                                 fs.makeQualified(outputFile), 
> null);
> {code}
> *fs* is InMemoryFileSystem when ReduceTask.ReduceCopier constructs it... so 
> the wrong FileSystem is used during intermediate merges.
>  

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

        

Reply via email to