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

Todd Lipcon commented on HDFS-2551:
-----------------------------------

bq. One way to fix this would be to call hdfsClose in the fuse flush() method

This would be way too slow -- shutting down and reconstructing the pipeline, 
multiple round trips to NN, etc. flush() is used for applications like WALs 
which would kill performance here
                
> fuse-dfs's close() is asynchronous
> ----------------------------------
>
>                 Key: HDFS-2551
>                 URL: https://issues.apache.org/jira/browse/HDFS-2551
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: fuse-dfs
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Todd Lipcon
>
> FUSE's "release" operation is called asynchronously when a file is closed 
> from userspace. This means that, if a program writes a file, closes it, and 
> immediately re-opens it, it might not succeed. We should figure out some 
> workaround or trick to make close synchronous, if possible.

--
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