[
https://issues.apache.org/jira/browse/HADOOP-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613467#action_12613467
]
Koji Noguchi commented on HADOOP-3723:
--------------------------------------
+1.
Maybe assign errno when O_RDWR is passed in. ENOSYS?
> libhdfs only accepts O_WRONLY and O_RDONLY so does not accept things like
> O_WRONLY | O_CREAT
> --------------------------------------------------------------------------------------------
>
> Key: HADOOP-3723
> URL: https://issues.apache.org/jira/browse/HADOOP-3723
> Project: Hadoop Core
> Issue Type: Bug
> Components: libhdfs
> Reporter: Pete Wyckoff
> Assignee: Pete Wyckoff
> Priority: Minor
> Attachments: patch0.txt, patch0.txt
>
>
> hdfs.c in the hdfsOpenFile method checks for flags == O_WRONLY rather than
> flags & O_WRONLY and same for reads.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.