Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9702

FileSystem should fail create call with OverWrite and Append flags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • fs
    • None

    Description

      OverWrite flag means delete the existing file. Append flag means append to an existing file. Both cannot be enabled at the same time.

      Following combinations are okay:

      1. Create & Overwrite is okay - if file does not exist, it is created. If it exists, it will be overwritten.
      2. Create & Append is okay - if file does not exist, create it. If the file exists append to it.

      Attachments

        1. HADOOP-9702.patch
          0.9 kB
          Jean-Baptiste Onofré

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sureshms Suresh Srinivas
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: