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

Pete Wyckoff commented on HADOOP-4494:
--------------------------------------

idea - we deprecate not having the O_CREAT flag by writing out a warning and 
updating the docs.

The good thing about this kind of deprecation is we can ultimately just return 
-ENOENT when we are ready - should be easy for users to see they have to fix 
something.

but, should also look at O_EXCL at the same time ...



> libhdfs does not call FileSystem.append when O_APPEND passed to hdfsOpenFile
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-4494
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4494
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.19.1, 0.20.0
>            Reporter: Pete Wyckoff
>            Assignee: Pete Wyckoff
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: HADOOP-4494.txt
>
>
> libhdfs currently calls FileSystem.create when O_APPEND passed in - ie it 
> ignores this flag

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