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

Pete Wyckoff updated HADOOP-3485:
---------------------------------

    Attachment: patch1.txt

I don't know what I was thinking before about writes not working. Must have 
been confused. There was a bug (the write not returning #bytes written) which I 
have fixed and also enabled create, write, mknod and flush. 

I'm including this now, but will wait to officially submit a patch until I have 
a unit test.


> implement writes
> ----------------
>
>                 Key: HADOOP-3485
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3485
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: contrib/fuse-dfs
>            Reporter: Pete Wyckoff
>            Priority: Minor
>         Attachments: patch1.txt
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Doesn't support writes because fuse protocol first creates the file then 
> closes it and re-opens it to start writing to it. So, (until hadoop-1700), we 
> need a work around.
> One way to do this is to open the file with overwrite flag on the second 
> open. For security, would only want to do this for zero length files (could 
> even check the creation ts too, but because of clock skew, that may be 
> harder).
> Doug, Craig, Nicholas - Comments?
> -- pete
> ps since mostly already implemented, this should be a very quick patch

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to