You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2012/05/17 20:18:14 UTC
[jira] [Updated] (HDFS-3431) Improve fuse-dfs truncate
[ https://issues.apache.org/jira/browse/HDFS-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Patrick McCabe updated HDFS-3431:
---------------------------------------
Description:
Fuse-dfs truncate only works for size == 0 and per the function's comment is a "Weak implementation in that we just delete the file and then re-create it, but don't set the user, group, and times to the old file's metadata". Per HDFS-860 we should ENOTSUP when the size != 0 or the size of the file.
Also, we should implement the ftruncate system call in FUSE.
was:Fuse-dfs truncate only works for size == 0 and per the function's comment is a "Weak implementation in that we just delete the file and then re-create it, but don't set the user, group, and times to the old file's metadata". Per HDFS-860 we should ENOTSUP when the size != 0 or the size of the file.
> Improve fuse-dfs truncate
> -------------------------
>
> Key: HDFS-3431
> URL: https://issues.apache.org/jira/browse/HDFS-3431
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: contrib/fuse-dfs
> Reporter: Eli Collins
> Priority: Minor
>
> Fuse-dfs truncate only works for size == 0 and per the function's comment is a "Weak implementation in that we just delete the file and then re-create it, but don't set the user, group, and times to the old file's metadata". Per HDFS-860 we should ENOTSUP when the size != 0 or the size of the file.
> Also, we should implement the ftruncate system call in FUSE.
--
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