hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Mollitor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-14716) Pass CreateFile Flags To Subclasses of FileSystem
Date Thu, 15 Aug 2019 18:05:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-14716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908370#comment-16908370

David Mollitor commented on HDFS-14716:

[~elgoiri] This is related to [NIFI-5452].  Trying to allow NiFi to add files into HDFS using
this flag.  However, NiFi is using the parent type {{FileSystem}}.

Here is the call:


> Pass CreateFile Flags To Subclasses of FileSystem
> -------------------------------------------------
>                 Key: HDFS-14716
>                 URL: https://issues.apache.org/jira/browse/HDFS-14716
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: David Mollitor
>            Priority: Major
> I need a way to pass [HDFS-13448] {{NO_LOCAL_WRITE}} to the {{DistributedFileSystem}}
class.  The {{create}} method should pass all of the {{CreateFile}} flags to the underlying
implementation.  The 'overwrite' flag should be removed and let implementation read this directive
as a {{CreateFile}} flag.
> {code:java}
>   public abstract FSDataOutputStream create(Path f,
>       FsPermission permission,
>       boolean overwrite,
>       int bufferSize,
>       short replication,
>       long blockSize,
>       Progressable progress) throws IOException;
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message