You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Ed Espino (JIRA)" <ji...@apache.org> on 2016/12/22 06:38:58 UTC

[jira] [Resolved] (HAWQ-1143) Libhdfs create semantic is not consistent with posix standard.

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

Ed Espino resolved HAWQ-1143.
-----------------------------
    Resolution: Fixed

> Libhdfs create semantic is not consistent with posix standard.
> --------------------------------------------------------------
>
>                 Key: HAWQ-1143
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1143
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: libhdfs
>            Reporter: Hubert Zhang
>            Assignee: Hubert Zhang
>             Fix For: 2.1.0.0-incubating
>
>
> Open a file under posix standard, if o_create flag is set to true and the file exists, no side effect except O_EXCL is also be set true.
> Open a file in HDFS with  hdfs::create flag will report errors if file exists.
> In libhdfs, the o_create flag is interpreted to hdfs::create, which leads to errors if file exists no matter O_EXCL is set or not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)