Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 8753 invoked from network); 10 Jul 2008 01:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2008 01:44:25 -0000 Received: (qmail 17643 invoked by uid 500); 10 Jul 2008 01:44:23 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 17585 invoked by uid 500); 10 Jul 2008 01:44:22 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 17516 invoked by uid 99); 10 Jul 2008 01:44:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 18:44:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 01:43:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C39E4234C161 for ; Wed, 9 Jul 2008 18:43:31 -0700 (PDT) Message-ID: <1026451189.1215654211800.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 18:43:31 -0700 (PDT) From: "Pete Wyckoff (JIRA)" To: core-dev@hadoop.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 In-Reply-To: <1435027754.1215567631639.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete Wyckoff updated HADOOP-3723: --------------------------------- Release Note: hdfsOpenFile can now handle multiple orr-ed flags and will reject the O_RDWR flag Status: Patch Available (was: Open) > 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 > > > 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.