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)