You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by "Hubert Zhang (JIRA)" <ji...@apache.org> on 2016/11/03 08:10:58 UTC

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

Hubert Zhang created HAWQ-1143:
----------------------------------

             Summary: 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: Lei Chang


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)