Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-231

Having configurable capability to overwrite the file with the same name already exists

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.5, 1.5.0
    • None
    • None

    Description

      Having configurable capability to overwrite the file with the same name already exists (Line no 90 in org.apache.orc.impl.PhysicalFsWriter).

      Use Case:
      I am using OrcOutputFormat with MultipleOutput in my MapReduce job.
      Since MultipleOutput does not uses OutputCommitter so there are half/corrupt files are left from the failed reducers.
      Here the files with the same name will be overwritten by the retry attempt and it will guarantee correct result from a successful job.

      Attachments

        Issue Links

          Activity

            People

              ajayyadava Ajay Yadav
              piyush.mukati piyush mukati
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: