You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2017/08/15 22:43:00 UTC

[jira] [Created] (HIVE-17329) ensure acid side file is not overwritten

Eugene Koifman created HIVE-17329:
-------------------------------------

             Summary: ensure acid side file is not overwritten
                 Key: HIVE-17329
                 URL: https://issues.apache.org/jira/browse/HIVE-17329
             Project: Hive
          Issue Type: Improvement
          Components: Transactions
            Reporter: Eugene Koifman
            Assignee: Eugene Koifman
            Priority: Minor
             Fix For: 3.0.0


OrcRecordUpdater() has 
{noformat}
      flushLengths = fs.create(OrcAcidUtils.getSideFile(this.path), true, 8,
          options.getReporter());
{noformat}

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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)