hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11987) DistributedFileSystem#create and append do not honor CreateFlag.CREATE|APPEND
Date Mon, 14 Aug 2017 22:17:00 GMT

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

Lei (Eddy) Xu commented on HDFS-11987:

bq. this API works better if it's implemented server-side for atomicity. 

It'd be a nice characteristic to have. But one difficulty of implementing in this way is that,
 when {{CREATE|APPEND}} is specified when calling either create() or append(), they would
either return {{HdfsFileStatus}} or {{LastBlockWithStatus}} from server side, which makes
it necessary to change RPC protocol. 

Any thoughts on this?

> DistributedFileSystem#create and append do not honor CreateFlag.CREATE|APPEND
> -----------------------------------------------------------------------------
>                 Key: HDFS-11987
>                 URL: https://issues.apache.org/jira/browse/HDFS-11987
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 2.8.1, 3.0.0-alpha3
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>         Attachments: HDFS-11987.00.patch
> {{DistributedFileSystem#create()}} and {{DistributedFIleSystem#append()}} do not honor
the expected behavior on {{CreateFlag.CREATE|APPEND}}.

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