hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Spiegelberg (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6840) Support non-recursive create() in FileSystem & SequenceFile.Writer
Date Thu, 08 Jul 2010 03:04:50 GMT

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

Nicolas Spiegelberg updated HADOOP-6840:

    Attachment: HADOOP-6840_0.21.patch

0.21 patch, also applies on 0.22 cleanly.  

Kept this patch simple.  Adds 2 static create() API calls to SequenceFile.  The first one
adds a 'boolean createParent' and is marked as deprecated.  I would like to add this functionality
to 0.20-append, which will use this API call instead of having to import the FileContext code.
 The 2nd API call uses the new FileContext class and should be used for clients that don't
need 0.20-append backward compatibility.  Please sanity check my usage of the new API.  

No existing APIs were touched to make this change.  Did fix a minor bug where BlockCompressWriter()
was not properly looking at io.seqfile.compress.blocksize.

> Support non-recursive create() in FileSystem & SequenceFile.Writer
> ------------------------------------------------------------------
>                 Key: HADOOP-6840
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6840
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs, io
>    Affects Versions: 0.21.0, 0.20-append
>            Reporter: Nicolas Spiegelberg
>            Priority: Minor
>         Attachments: HADOOP-6840_0.21.patch
> The proposed solution for HBASE-2312 requires the sequence file to handle a non-recursive
create.  This is already supported by HDFS, but needs to have an equivalent FileSystem &
SequenceFile.Writer API.

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

View raw message