You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/10/27 08:13:00 UTC

[jira] [Updated] (ORC-1039) Make FileDump.recoverFile handle side files only if they exist

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

Dongjoon Hyun updated ORC-1039:
-------------------------------
    Summary: Make FileDump.recoverFile handle side files only if they exist  (was: For the ORC-1030 test to work properly, compatibility modifications need to be provided)

> Make FileDump.recoverFile handle side files only if they exist
> --------------------------------------------------------------
>
>                 Key: ORC-1039
>                 URL: https://issues.apache.org/jira/browse/ORC-1039
>             Project: ORC
>          Issue Type: Bug
>          Components: Java, tools
>    Affects Versions: 1.7.0, 1.8.0, 1.6.11
>            Reporter: Yiqun Zhang
>            Assignee: Yiqun Zhang
>            Priority: Minor
>             Fix For: 1.8.0, 1.7.1
>
>
> {code:java}
>       Path sideFilePath = OrcAcidUtils.getSideFile(corruptPath);
>       Path backupSideFilePath = new Path(backupDataPath.getParent(), sideFilePath.getName());
>       moveFiles(fs, sideFilePath, backupSideFilePath);
> {code}
> Check if the sideFile file exists. Compatibility test case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)