[
https://issues.apache.org/jira/browse/HDFS-11987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054284#comment-16054284
]
Andrew Wang commented on HDFS-11987:
------------------------------------
Hi Eddy, thanks for working on this! One high-level comment, I think this API
works better if it's implemented server-side for atomicity. CREATE|OVERWRITE is
a related example that could be implemented client-side but isn't (I imagine
for the same reasons).
Nit:
* append, not caused by this patch, but swap the order of favoredNodes and
progress parameters to match other calls?
> 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]