You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Pete Wyckoff (JIRA)" <ji...@apache.org> on 2008/07/18 00:33:31 UTC

[jira] Commented: (HADOOP-3485) fix writes

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

Pete Wyckoff commented on HADOOP-3485:
--------------------------------------

I just looked at the code again and see that instead of returning size from the dfs_write, it should return the #of bytes actually written. And instead of forcing those 2 be the same, the error condition should just check that #of bytes written > 0.

I will supply a new patch.


> fix 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
>            Assignee: Pete Wyckoff
>            Priority: Minor
>         Attachments: patch1.txt, patch2.txt, patch3.txt
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. dfs_write should return the #of bytes written and not 0
> 2. implement dfs_flush
> 3. uncomment/fix dfs_create
> 4. fix the flags argument passed to libhdfs openFile to get around the bug in hadoop-3723
> 5. Since I am adding a write unit test, I noticed the unit tests are in the wrong directory - should be in contrib/fuse-dfs/src/test and not contrib/fuse-dfs/test

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