[ 
https://issues.apache.org/jira/browse/HDFS-4950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colin Patrick McCabe updated HDFS-4950:
---------------------------------------

    Summary: newly created files in fuse_dfs appear to be length 0 for a while 
due to attribute caching  (was: newly created files in fuse_dfs appear to be 
length 0 for a while)
    
> newly created files in fuse_dfs appear to be length 0 for a while due to 
> attribute caching
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4950
>                 URL: https://issues.apache.org/jira/browse/HDFS-4950
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: fuse-dfs
>    Affects Versions: 2.2.0
>            Reporter: Colin Patrick McCabe
>         Attachments: 2013-07-02.correct-noattr-trace.txt, 
> 2013-07-02.incorrect-attr-trace.txt
>
>
> 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

Reply via email to