hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3431) Improve fuse-dfs truncate
Date Wed, 16 May 2012 23:19:07 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277255#comment-13277255

Colin Patrick McCabe commented on HDFS-3431:

We should also implement ftruncate in the FUSE client, so that currently open files can be
truncated properly.  Perhaps there should be a JIRA for this?
> 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.  

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


View raw message