Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17329

ensure acid side file is not overwritten

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • None
    • 3.0.0
    • Transactions
    • None

    Description

      OrcRecordUpdater() has

            flushLengths = fs.create(OrcAcidUtils.getSideFile(this.path), true, 8,
                options.getReporter());
      

      this should be the only place where the side file is created but to be safe we should set "overwrite" parameter to false. If this file already exists that means there are 2 OrcRecordUpdates trying to write the same (primary) file - never ok.

      Attachments

        Activity

          People

            ekoifman Eugene Koifman
            ekoifman Eugene Koifman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: