hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-17329) ensure acid side file is not overwritten
Date Fri, 25 Aug 2017 17:35:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-17329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eugene Koifman resolved HIVE-17329.
-----------------------------------
    Resolution: Done

fixed in HIVE-17205

> 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)

Mime
View raw message