hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Wyckoff (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3723) libhdfs only accepts O_WRONLY and O_RDONLY so does not accept things like O_WRONLY | O_CREAT
Date Tue, 15 Jul 2008 18:57:32 GMT

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

Pete Wyckoff updated HADOOP-3723:
---------------------------------

    Attachment: patch0.txt

incorporated koji's comment about setting errno - set it to ENOTSUP.


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


Mime
View raw message