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

Dongjoon Hyun updated ORC-1039:
-------------------------------
    Affects Version/s:     (was: 1.8.0)

> 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.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.20.1#820001)

Reply via email to