[
https://issues.apache.org/jira/browse/HDFS-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Bockelman updated HDFS-861:
---------------------------------
Attachment: HDFS-861.patch
This patch implements the proposed change. O_RDWR will work in a few cases;
fuse-dfs respond with an error when you try to do a forbidden operation (such
as writing to an existing file) instead of when you open it in the wrong mode.
This is important for our community as it allows users to "rsync" from a remote
system into HDFS; primarily, I am trying to get the patch and its licensing
documented.
> fuse-dfs does not support O_RDWR
> --------------------------------
>
> Key: HDFS-861
> URL: https://issues.apache.org/jira/browse/HDFS-861
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: contrib/fuse-dfs
> Reporter: Brian Bockelman
> Priority: Minor
> Attachments: HDFS-861.patch
>
>
> Some applications (for us, the big one is rsync) will open a file in
> read-write mode when it really only intends to read xor write (not both).
> fuse-dfs should try to not fail until the application actually tries to write
> to a pre-existing file or read from a newly created file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.