hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Spiegelberg (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-6840) Support non-recursive create() in FileSystem & SequenceFile.Writer
Date Tue, 29 Nov 2011 20:01:40 GMT

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

Nicolas Spiegelberg commented on HADOOP-6840:
---------------------------------------------

@Jonathan: you are correct. looks like createParent is assumed to be true if you use this
API.  This worked for HBase because that was always the case.  You want something like:

{code}
if (createParent) { use fs.createNonRecursive(); } 
else { use fs.create() }
{code}
                
> 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.20-append, 0.21.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Jitendra Nath Pandey
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: HADOOP-6840-branch-0.20-security.patch, HADOOP-6840_0.20-append.patch,
HADOOP-6840_0.21-2.patch, 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.
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

        

Mime
View raw message