You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/05/17 00:59:06 UTC
[jira] [Resolved] (HDFS-860) fuse-dfs truncate behavior causes
issues with scp
[ https://issues.apache.org/jira/browse/HDFS-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins resolved HDFS-860.
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Target Version/s: (was: 2.0.0)
Hadoop Flags: Reviewed
I've committed this to trunk and merged to branch-2. Thanks Brian!
> fuse-dfs truncate behavior causes issues with scp
> -------------------------------------------------
>
> Key: HDFS-860
> URL: https://issues.apache.org/jira/browse/HDFS-860
> Project: Hadoop HDFS
> Issue Type: Wish
> Components: contrib/fuse-dfs
> Reporter: Brian Bockelman
> Assignee: Brian Bockelman
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HDFS-860.patch, hdfs-860.txt
>
>
> For whatever reason, scp issues a "truncate" once it's written a file to truncate the file to the # of bytes it has written (i.e., if a file is X bytes, it calls truncate(X)).
> This fails on the current fuse-dfs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira