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

Colin Patrick McCabe commented on HDFS-3758:
--------------------------------------------

Here's a little more explanation of the patch: {{-ononempty}} allows FUSE to 
mount over a non-empty directory.  Since we previously had a bug which could 
result in the fuse mount directory getting full of junk, you can see why this 
is useful.

This patch also changes the way we run fuse_dfs slightly.  Rather than running 
it in the background, we run it in the foreground, piping its stdout and stderr 
to java threads.  This is the meaning of the {{-f}} option.
                
> TestFuseDFS test failing
> ------------------------
>
>                 Key: HDFS-3758
>                 URL: https://issues.apache.org/jira/browse/HDFS-3758
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: fuse-dfs
>    Affects Versions: 1.0.0, 2.0.0-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3758-b1.001.patch, HDFS-3758.003.patch, 
> TestFuseDFS-fix-0002.patch
>
>
> TestFuseDFS.java has two bugs:
> * there is a race condition between mounting the filesystem and testing it
> * it doesn't clear the mount directory before it tries to mount there

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

        

Reply via email to