hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuang Liu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3485) implement writes
Date Thu, 05 Jun 2008 21:13:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602796#action_12602796
] 

Chuang Liu commented on HADOOP-3485:
------------------------------------

Could you please clarify the situations when this call sequence happens? Could it be fuse
version related?  I used FUSE 2.6. 

Also, in fuse.h, the description of fuse "create" says "If this method is not implemented
or under linux kernel versions earlier than 2.6.15, the mknod() and open() methods will be
called instead". It might be interesting to try geting rid of 'create' and moving logic in
this function to 'open' such that the file gets closed just once? 

Chuang 

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


Mime
View raw message