You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/02/24 22:38:40 UTC

[jira] Resolved: (HADOOP-40) bufferSize argument is ignored in FileSystem.create(File, boolean, int)

     [ http://issues.apache.org/jira/browse/HADOOP-40?page=all ]
     
Doug Cutting resolved HADOOP-40:
--------------------------------

    Fix Version: 0.1
     Resolution: Fixed

I just committed my patch for this.

> bufferSize argument is ignored in FileSystem.create(File, boolean, int)
> -----------------------------------------------------------------------
>
>          Key: HADOOP-40
>          URL: http://issues.apache.org/jira/browse/HADOOP-40
>      Project: Hadoop
>         Type: Bug
>   Components: fs
>     Reporter: Konstantin Shvachko
>     Priority: Minor
>      Fix For: 0.1
>  Attachments: BufferSize.patch, bufferSize.patch
>
> org.apache.hadoop.fs.FileSystem.create(File f, boolean overwrite, int bufferSize)
> ignores the input parameter bufferSize.
> It passes further down the internal configuration, which includes the buffer size, but not the parameter value.
> This works fine within the file system, since everything that calls create extracts buffer size from the same config. 
> MapReduce although is probably affected by that, see 
> org.apache.hadoop.io.SequenceFile.Sorter.MergeQueue.MergeQueue(int size, String outName, boolean done)
> The attached patch would fix it.

-- 
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