[
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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]