Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1143

Libhdfs create semantic is not consistent with posix standard.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0.0-incubating
    • libhdfs
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              hubertzhang Hubert Zhang
              hubertzhang Hubert Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: