hadoop-hdfs-issues mailing list archives

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

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

Eli Collins commented on HDFS-3431:
-----------------------------------

Could be handled here.
                
> 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

        

Mime
View raw message