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 "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/07/02 23:03:20 UTC

[jira] [Created] (HDFS-4950) newly created files in fuse_dfs appear to be length 0 for a while

Colin Patrick McCabe created HDFS-4950:
------------------------------------------

             Summary: newly created files in fuse_dfs appear to be length 0 for a while
                 Key: HDFS-4950
                 URL: https://issues.apache.org/jira/browse/HDFS-4950
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Colin Patrick McCabe


For some reason, newly created files in fuse_dfs appear to be length 0 for a while.

{code}
cmccabe@keter:~> echo hi > hi
cmccabe@keter:~> mv hi /mnt/tmp/hi
cmccabe@keter:~> ls -l /mnt/tmp
total 0
-rw-r--r-- 1 cmccabe users 0 Jul  2 13:24 hi
cmccabe@keter:~> cat /mnt/tmp/hi
cmccabe@keter:~> cat /mnt/tmp/hi
hi
{code}

Disabling FUSE attribute caching fixes this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira